From: Alexander Ebert Date: Tue, 30 Oct 2012 22:39:48 +0000 (+0100) Subject: Fixed erroneous tab menu X-Git-Tag: 2.0.0_Beta_1~823^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47e7e4d9843f3cd357baedcc2a4ab0daebff3e26;p=GitHub%2FWoltLab%2FWCF.git Fixed erroneous tab menu Fixes #871 --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 312ecdd3d5..dd38ba567a 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2856,7 +2856,7 @@ WCF.TabMenu = { } }); - $tabMenu.data('isParent', ($tabMenu.children('.tabMenuContainer').length > 0)).data('parent', false); + $tabMenu.data('isParent', ($tabMenu.children('.tabMenuContainer, .tabMenuContent').length > 0)).data('parent', false); if (!$tabMenu.data('isParent')) { // check if we're a child element if ($tabMenu.parent().hasClass('tabMenuContainer')) {