From 9c55b292f514c361abedd8903782ca379ea9f870 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 18 Apr 2017 17:54:59 +0200 Subject: [PATCH] Fixed issue #197 - ctrl+alt+x does not work. --- app/assets/javascripts/app/lib/base/jquery.contenteditable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/lib/base/jquery.contenteditable.js b/app/assets/javascripts/app/lib/base/jquery.contenteditable.js index 606402b01..cf32462c8 100644 --- a/app/assets/javascripts/app/lib/base/jquery.contenteditable.js +++ b/app/assets/javascripts/app/lib/base/jquery.contenteditable.js @@ -179,7 +179,7 @@ || e.keyCode == 76 || e.keyCode == 85 || e.keyCode == 86 - || e.keyCode == 87 + || e.keyCode == 88 || e.keyCode == 90 || e.keyCode == 89)) { e.preventDefault() @@ -219,7 +219,7 @@ if (e.keyCode == 86) { document.execCommand('strikeThrough') } - if (e.keyCode == 87) { + if (e.keyCode == 88) { document.execCommand('unlink') } if (e.keyCode == 89) {