From: Fabii Date: Thu, 31 Mar 2016 09:39:20 +0000 (+0200) Subject: Fix tab menu X-Git-Tag: 3.0.0_Beta_1~1286^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b57994e85e0f889da5730827d653deb4f54adae;p=GitHub%2FWoltLab%2FWCF.git Fix tab menu --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js index a61bad5ce2..b07e64ca03 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js @@ -224,11 +224,11 @@ define(['Dictionary', 'EventHandler', 'Dom/Traverse', 'Dom/Util'], function(Dict tab.classList.add('active'); var newContent = this._containers.get(name); newContent.classList.add('active'); + newContent.classList.remove('hidden'); if (this._isLegacy) { tab.classList.add('ui-state-active'); newContent.classList.add('ui-state-active'); - newContent.classList.remove('hidden'); } var menu = tab.parentNode.parentNode;