Fixed tab menu
authorAlexander Ebert <ebert@woltlab.com>
Thu, 20 Dec 2012 01:44:39 +0000 (02:44 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 20 Dec 2012 01:44:39 +0000 (02:44 +0100)
wcfsetup/install/files/js/WCF.js

index 748ba120c39ed9ff4a9f6ef5411a431ed79d74b2..05d692e19f4c6ad4348e4b9d64c6f318122a7b5d 100755 (executable)
@@ -2924,10 +2924,10 @@ WCF.TabMenu = {
                
                // try to resolve location hash
                if (!this._didInit) {
-                       var $tabSelected = this.selectTabs();
+                       this.selectTabs();
                        $(window).bind('hashchange', $.proxy(this.selectTabs, this));
                        
-                       if (!this._selectErroneousTab() && !$tabSelected) {
+                       if (!this._selectErroneousTab()) {
                                this._selectActiveTab();
                        }
                }