Fixed checkbox activity being blocked on tablets
authorAlexander Ebert <ebert@woltlab.com>
Wed, 4 Jan 2017 11:41:24 +0000 (12:41 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 4 Jan 2017 15:37:57 +0000 (16:37 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js

index 903ca5cdc4f8068593e388bbfed2be2c3067d883..8fc5952262e78911d5d89f65feba89923334f1c3 100644 (file)
@@ -214,7 +214,7 @@ define(
                                        if (quickOptions && navigation.childElementCount) {
                                                quickOptions.classList.add('active');
                                                quickOptions.addEventListener(WCF_CLICK_EVENT, function (event) {
-                                                       if (_enabled) {
+                                                       if (_enabled && event.target.nodeName !== 'LABEL') {
                                                                event.preventDefault();
                                                                event.stopPropagation();