From: Alexander Ebert Date: Mon, 18 Apr 2016 11:08:49 +0000 (+0200) Subject: Fixed alignment of language dropdown for textarea X-Git-Tag: 3.0.0_Beta_1~1855 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=621576f0f364ab7b9075360a63c14c1e6d9753e1;p=GitHub%2FWoltLab%2FWCF.git Fixed alignment of language dropdown for textarea --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js index 350014721f..bbd6317e02 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js @@ -170,7 +170,7 @@ define( setAlignment: function(dropdown, dropdownMenu, alternateElement) { // check if button belongs to an i18n textarea var button = elBySel('.dropdownToggle', dropdown), refDimensionsElement; - if (button !== null && button.classList.contains('dropdownCaptionTextarea')) { + if (button !== null && button.parentNode.classList.contains('inputAddonTextarea')) { refDimensionsElement = button; }