From 621576f0f364ab7b9075360a63c14c1e6d9753e1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 18 Apr 2016 13:08:49 +0200 Subject: [PATCH] Fixed alignment of language dropdown for textarea --- wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1