From: Alexander Ebert Date: Wed, 26 Oct 2016 10:56:21 +0000 (+0200) Subject: Added override for mobile box menus X-Git-Tag: 3.0.0_Beta_4~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9384e3304ec47c3f309f34863baf544b2a8d341d;p=GitHub%2FWoltLab%2FWCF.git Added override for mobile box menus --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js index 48102151bd..903ca5cdc4 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js @@ -234,7 +234,7 @@ define( _pageMenuUser = new UiPageMenuUser(); } - elBySelAll('.boxMenu', null, function(boxMenu) { + elBySelAll('.boxMenu:not(.forceOpen)', null, function(boxMenu) { boxMenu.addEventListener(WCF_CLICK_EVENT, function(event) { event.stopPropagation(); diff --git a/wcfsetup/install/files/style/layout/box.scss b/wcfsetup/install/files/style/layout/box.scss index 4005e3a49f..a9e1630e72 100644 --- a/wcfsetup/install/files/style/layout/box.scss +++ b/wcfsetup/install/files/style/layout/box.scss @@ -453,7 +453,7 @@ white-space: nowrap; } - &:not(.open) { + &:not(.open):not(.forceOpen) { > li:first-child, > li.active:not(:first-child) { pointer-events: none;