Disabled [Ctrl/Meta] + [S] on mobile devices
authorAlexander Ebert <ebert@woltlab.com>
Tue, 16 Dec 2014 21:45:09 +0000 (22:45 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 16 Dec 2014 21:45:09 +0000 (22:45 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index 8ed23c0b0b75333e9509910b9b7a4a9649aa9276..fc91365875f27b54be24301f954f4f40a33dcf2e 100644 (file)
@@ -1359,6 +1359,11 @@ RedactorPlugins.wbbcode = function() {
                                
                                // [S]
                                case 83:
+                                       // not supported on mobile devices anyway
+                                       if ($.browser.mobile) {
+                                               return;
+                                       }
+                                       
                                        var $submitEditor = false;
                                        if (navigator.platform.match(/^Mac/)) {
                                                if (data.event.ctrlKey && data.event.altKey) {