Fix tab menu
authorFabii <fabiangossner@gmail.com>
Thu, 31 Mar 2016 09:39:20 +0000 (11:39 +0200)
committerFabii <fabiangossner@gmail.com>
Thu, 31 Mar 2016 09:39:20 +0000 (11:39 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu/Simple.js

index a61bad5ce2418139a5edf3d1c7533f2c68942131..b07e64ca032801d482905d1cf559a115c87d0302 100644 (file)
@@ -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;