From: Alexander Ebert Date: Fri, 28 Nov 2014 00:03:44 +0000 (+0100) Subject: Fixed flexible menu displaying more items than it should X-Git-Tag: 2.1.0_Beta_1~137 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7fc3b9fe736bbd6543145d8797b1c7d6134a6efb;p=GitHub%2FWoltLab%2FWCF.git Fixed flexible menu displaying more items than it should --- 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; } }