From 115cd3833bed403decf78971b7bdc02ec1b00cc0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 12 Mar 2019 19:39:42 +0100 Subject: [PATCH] Listeners for smiley interactions were incorrectly scoped --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Smiley/Insert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Smiley/Insert.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Smiley/Insert.js index bfe42a179b..f871259104 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Smiley/Insert.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Smiley/Insert.js @@ -20,7 +20,7 @@ define(['EventHandler', 'EventKey'], function (EventHandler, EventKey) { init: function (editorId) { this._editorId = editorId; - var container = elBySel('.messageTabMenu[data-wysiwyg-container-id=' + this._editorId + ']'); + var container = elById('smilies-' + this._editorId); if (!container) { throw new Error('Unable to find the message tab menu container containing the smilies.'); } -- 2.20.1