Fixes auto-setting height of multilingual input field
authorMatthias Schmidt <gravatronics@live.com>
Sat, 3 Nov 2012 10:06:44 +0000 (11:06 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 3 Nov 2012 10:06:44 +0000 (11:06 +0100)
wcfsetup/install/files/js/WCF.js

index 5c37acb3981608eb8356270e480854ce505a34f7..ad4ed0d6f06c756ee9b2de4650779e508bcbb64b 100755 (executable)
@@ -2434,7 +2434,7 @@ WCF.MultipleLanguageInput = Class.extend({
                }
                else {
                        $button.addClass('dropdownCaption');
-                       $button.next().css('height', $button.outerHeight());
+                       this._element.css('height', $button.outerHeight());
                }
                
                // insert available languages