.dropdownMenu must no longer be a direct descendant of .dropdown
authorAlexander Ebert <ebert@woltlab.com>
Wed, 5 Sep 2012 11:43:45 +0000 (13:43 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 5 Sep 2012 11:43:45 +0000 (13:43 +0200)
wcfsetup/install/files/js/WCF.js

index 6b1146b42cab2b27d3259744b7903d1a862eb4a0..7c98eb95679c4539637cf29cc61dcd74c1c044ac 100755 (executable)
@@ -654,7 +654,7 @@ WCF.Dropdown = {
         */
        setAlignment: function(dropdown, dropdownMenu) {
                if (dropdown) {
-                       var $dropdownMenu = dropdown.children('.dropdownMenu:eq(0)');
+                       var $dropdownMenu = dropdown.find('.dropdownMenu:eq(0)');
                }
                else {
                        var $dropdownMenu = dropdownMenu;