Force exclude of touch devices from [Ctrl]+[S] in editor
authorAlexander Ebert <ebert@woltlab.com>
Fri, 16 Oct 2015 13:28:41 +0000 (15:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 16 Oct 2015 19:47:20 +0000 (21:47 +0200)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index 92b6287cb002e9fe2ed7df7b3b1b7c9ac9d1ca70..f8ca8804cb026b359e11f0352bb63e4978d0b616 100644 (file)
@@ -1927,7 +1927,7 @@ RedactorPlugins.wbbcode = function() {
                                // [S]
                                case 83:
                                        // not supported on mobile devices anyway
-                                       if ($.browser.mobile) {
+                                       if ($.browser.mobile || $.browser.touch) {
                                                return;
                                        }