From: Alexander Ebert Date: Thu, 1 Nov 2012 23:46:39 +0000 (-0700) Subject: Merge pull request #882 from Gravatronics/enhancement/multipleLanguageInputInputHeight X-Git-Tag: 2.0.0_Beta_1~821^2~9^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=269b395cc1b0731d9559bbffc364d570f7d5244d;p=GitHub%2FWoltLab%2FWCF.git Merge pull request #882 from Gravatronics/enhancement/multipleLanguageInputInputHeight Adjusts the height of multilingual input fields --- 269b395cc1b0731d9559bbffc364d570f7d5244d diff --cc wcfsetup/install/files/js/WCF.js index 6595819ec4,ab78fe2351..96135c4cec --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@@ -2434,8 -2425,19 +2434,9 @@@ WCF.MultipleLanguageInput = Class.exten } else { $button.addClass('dropdownCaption'); + $button.next().css('height', $button.outerHeight()); } - // insert list - this._list = $('').insertAfter($button); - - // set top offset for menu - if ($top !== null) { - this._list.css({ - top: $top - }); - } - // insert available languages for (var $languageID in this._availableLanguages) { $('
  • ' + this._availableLanguages[$languageID] + '
  • ').data('languageID', $languageID).click($.proxy(this._changeLanguage, this)).appendTo(this._list);