From 7bbf2ecbe19cf7d1a01c768886245af377d052ab Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 1 Sep 2016 17:11:34 +0200 Subject: [PATCH] Fixed clicking on mention suggestions --- .../install/files/js/WoltLabSuite/Core/Ui/Redactor/Mention.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1