projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518b4e3
)
Fixed like widget issue
author
Marcel Werk
<burntime@woltlab.com>
Tue, 8 Oct 2013 13:18:50 +0000
(15:18 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Tue, 8 Oct 2013 13:18:50 +0000
(15:18 +0200)
wcfsetup/install/files/js/WCF.Like.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.Like.js
b/wcfsetup/install/files/js/WCF.Like.js
index 00daf46dfb28837e11c608f0ac166a2a1d43af05..ce1302b856967be2972751a4cc23295ec26b82f4 100644
(file)
--- 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 = $('<a class="badge jsTooltip likesBadge" />').data('containerID', containerID).click($.proxy(this._showLikeDetails, this));