From: Marcel Werk Date: Tue, 8 Oct 2013 13:18:50 +0000 (+0200) Subject: Fixed like widget issue X-Git-Tag: 2.0.0_Beta_11~49^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27c7fed57f415258e0e26c6c717e17b162cb296d;p=GitHub%2FWoltLab%2FWCF.git Fixed like widget issue --- diff --git a/wcfsetup/install/files/js/WCF.Like.js b/wcfsetup/install/files/js/WCF.Like.js index 00daf46dfb..ce1302b856 100644 --- a/wcfsetup/install/files/js/WCF.Like.js +++ b/wcfsetup/install/files/js/WCF.Like.js @@ -213,8 +213,8 @@ WCF.Like = Class.extend({ if (!this._enableDislikes) $dislikeButton.hide(); if (!this._allowForOwnContent && (WCF.User.userID == this._containers[containerID].data('userID'))) { - $likeButton.hide(); - $dislikeButton.hide(); + $likeButton = $(''); + $dislikeButton = $(''); } var $badge = $('').data('containerID', containerID).click($.proxy(this._showLikeDetails, this));