From: Alexander Ebert Date: Thu, 1 Sep 2016 15:11:34 +0000 (+0200) Subject: Fixed clicking on mention suggestions X-Git-Tag: 3.0.0_Beta_1~366 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7bbf2ecbe19cf7d1a01c768886245af377d052ab;p=GitHub%2FWoltLab%2FWCF.git Fixed clicking on mention suggestions --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Mention.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Mention.js index bd127d3040..d65b67089d 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Mention.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Mention.js @@ -336,7 +336,7 @@ define(['Ajax', 'Environment', 'Ui/CloseOverlay'], function(Ajax, Environment, U listItem = elCreate('li'); link = elCreate('a'); - link.addEventListener(WCF_CLICK_EVENT, callbackClick); + link.addEventListener('mousedown', callbackClick); link.className = 'box16'; link.innerHTML = '' + user.icon + ' ' + user.label + ''; elData(link, 'user-id', user.objectID);