From: Alexander Ebert Date: Wed, 31 Aug 2016 07:53:23 +0000 (+0200) Subject: Fixed closing mobile menu after option selection X-Git-Tag: 3.0.0_Beta_1~389 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f0a08b29b97f2e8022c504fcdc19c1cf4a262d2;p=GitHub%2FWoltLab%2FWCF.git Fixed closing mobile menu after option selection --- 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) {