Fixed function declaration
authorAlexander Ebert <ebert@woltlab.com>
Mon, 4 May 2015 12:28:46 +0000 (14:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 4 May 2015 12:28:46 +0000 (14:28 +0200)
wcfsetup/install/files/js/WoltLab/WCF/UI/FlexibleMenu.js

index 91596137d0a461d1902b1cb4fea8d0a97c396501..1d34365218e31a8faee649656994ba63d80fb8c8 100644 (file)
@@ -13,7 +13,7 @@ define(['Core', 'Dictionary', 'DOM/Traverse', 'DOM/Util', 'UI/SimpleDropdown'],
        /**
         * @constructor
         */
-       var UIFlexibleMenu = function() {
+       function UIFlexibleMenu() {
                this._containers = new Dictionary();
                this._dropdowns = new Dictionary();
                this._dropdownMenus = new Dictionary();
@@ -199,4 +199,4 @@ define(['Core', 'Dictionary', 'DOM/Traverse', 'DOM/Util', 'UI/SimpleDropdown'],
        };
        
        return new UIFlexibleMenu();
-});
\ No newline at end of file
+});