From: Alexander Ebert Date: Wed, 30 Oct 2013 19:10:46 +0000 (+0100) Subject: Remove dropdown from DOM unless required X-Git-Tag: 2.0.0_Beta_11~8^2~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=67fde3bf6a29edb689f39f83041678642d122522;p=GitHub%2FWoltLab%2FWCF.git Remove dropdown from DOM unless required --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 8069388a74..c9c415a286 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -5943,7 +5943,7 @@ WCF.System.FlexibleMenu = { this._containerIDs.push(containerID); this._containers[containerID] = $container; this._menuItems[containerID] = $container.find('> ul:eq(0) > li'); - this._dropdowns[containerID] = $('').data('containerID', containerID).hide().appendTo($container.children('ul:eq(0)')).click($.proxy(this._click, this)); + this._dropdowns[containerID] = $('').data('containerID', containerID).click($.proxy(this._click, this)); this._dropdownMenus[containerID] = $('