From 27c7fed57f415258e0e26c6c717e17b162cb296d Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 8 Oct 2013 15:18:50 +0200 Subject: [PATCH] Fixed like widget issue --- wcfsetup/install/files/js/WCF.Like.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.20.1