From: Tim Düsterhus Date: Sat, 3 Sep 2016 15:24:03 +0000 (+0200) Subject: Disable Android menu if Redactor is in use X-Git-Tag: 3.0.0_Beta_1~321 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ba8bad6f1ba6b2bcc8d12eac647923d3d2d99ad;p=GitHub%2FWoltLab%2FWCF.git Disable Android menu if Redactor is in use --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js index 4b47db7c02..fddab21907 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js @@ -223,6 +223,8 @@ define(['Core', 'Environment', 'EventHandler', 'ObjectMap', 'Dom/Traverse', 'Dom } if (!found) return; } + // break if redactor is in use + if (document.documentElement.classList.contains('redactorActive')) return; touchStart = touches[0].pageX;