From: Alexander Ebert Date: Tue, 12 Mar 2019 18:39:42 +0000 (+0100) Subject: Listeners for smiley interactions were incorrectly scoped X-Git-Tag: 5.2.0_Alpha_1~221 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=115cd3833bed403decf78971b7bdc02ec1b00cc0;p=GitHub%2FWoltLab%2FWCF.git Listeners for smiley interactions were incorrectly scoped --- 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.'); }