From 7fc3b9fe736bbd6543145d8797b1c7d6134a6efb Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 28 Nov 2014 01:03:44 +0100 Subject: [PATCH] Fixed flexible menu displaying more items than it should --- wcfsetup/install/files/js/WCF.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 19c91e621a..314b719e0b 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -6722,9 +6722,7 @@ WCF.System.FlexibleMenu = { return; } - var $changedItems = false; var $container = this._containers[containerID]; - var $currentWidth = 0; // hide all items var $menuItems = this._menuItems[containerID].hide(); @@ -6784,6 +6782,8 @@ WCF.System.FlexibleMenu = { } this._hasHiddenItems[containerID] = true; + + break; } } -- 2.20.1