From: Marcel Werk Date: Tue, 23 Aug 2016 18:31:58 +0000 (+0200) Subject: Fixed js error in deleted/collapsed messages X-Git-Tag: 3.0.0_Beta_1~553 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=51267670bc0fd8d54aae4cba582f500324c84156;p=GitHub%2FWoltLab%2FWCF.git Fixed js error in deleted/collapsed messages --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js index f29cc392a0..ef2aa24011 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js @@ -167,7 +167,8 @@ define( navigation.classList.toggle('open'); } }); - + } + if (navigation) { navigation.addEventListener(WCF_CLICK_EVENT, function(event) { event.stopPropagation(); });