From b7fc0c5dbfe0eac2f2bdbcb6cae76740100b8c64 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 16 Dec 2014 22:45:09 +0100 Subject: [PATCH] Disabled [Ctrl/Meta] + [S] on mobile devices --- .../install/files/js/3rdParty/redactor/plugins/wbbcode.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 8ed23c0b0b..fc91365875 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -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) { -- 2.20.1