From afa99e58a9effa9a8c2dac635d8785da66cfab8d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 20 Dec 2012 02:44:39 +0100 Subject: [PATCH] Fixed tab menu --- 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 748ba120c3..05d692e19f 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -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(); } } -- 2.20.1