Added override for mobile box menus
authorAlexander Ebert <ebert@woltlab.com>
Wed, 26 Oct 2016 10:56:21 +0000 (12:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 26 Oct 2016 10:56:28 +0000 (12:56 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js
wcfsetup/install/files/style/layout/box.scss

index 48102151bd81a1ee0af290a7197387c02b3df733..903ca5cdc4f8068593e388bbfed2be2c3067d883 100644 (file)
@@ -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();
                                        
index 4005e3a49f19e6daa9c0495520a5418340fe8451..a9e1630e72c7c5c7450649498d25e069497e36ed 100644 (file)
                                        white-space: nowrap;
                                }
                                
-                               &:not(.open) {
+                               &:not(.open):not(.forceOpen) {
                                        > li:first-child,
                                        > li.active:not(:first-child) {
                                                pointer-events: none;