From 71c95b56c6f9dafea825af1e49964f7664307f3d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 27 Jun 2014 21:01:36 +0200 Subject: [PATCH] Renamed like buttons to work around false-positive ad blockers --- 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 122bc342c9..d602d97ddb 100644 --- a/wcfsetup/install/files/js/WCF.Like.js +++ b/wcfsetup/install/files/js/WCF.Like.js @@ -202,8 +202,8 @@ WCF.Like = Class.extend({ * @param integer containerID */ _createWidget: function(containerID) { - var $likeButton = $('
  • '); - var $dislikeButton = $('
  • '); + var $likeButton = $('
  • '); + var $dislikeButton = $('
  • '); if (!this._enableDislikes) $dislikeButton.hide(); if (!this._allowForOwnContent && (WCF.User.userID == this._containers[containerID].data('userID'))) { -- 2.20.1