From 67fde3bf6a29edb689f39f83041678642d122522 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 30 Oct 2013 20:10:46 +0100 Subject: [PATCH] Remove dropdown from DOM unless required --- wcfsetup/install/files/js/WCF.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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] = $('