From 9f0a08b29b97f2e8022c504fcdc19c1cf4a262d2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 31 Aug 2016 09:53:23 +0200 Subject: [PATCH] Fixed closing mobile menu after option selection --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js index 9715ef98cf..1bbcb4cd98 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js @@ -137,6 +137,8 @@ define( var list = elBySel('.buttonList', navigation); list.addEventListener(WCF_CLICK_EVENT, function(event) { event.stopPropagation(); + + navigation.classList.remove('open'); }); (function(navigation, button) { -- 2.20.1