From 9384e3304ec47c3f309f34863baf544b2a8d341d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 26 Oct 2016 12:56:21 +0200 Subject: [PATCH] Added override for mobile box menus --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js | 2 +- wcfsetup/install/files/style/layout/box.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1