summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorRoman <reverse@jamm.me>2017-05-24 09:20:53 +0200
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2017-05-24 09:20:53 +0200
commite1d27b5c9e02b0201bcd2f485fdcd27ae64a726d (patch)
tree86ef00760a7da23ad66680069bac767bbf22d260 /js
parentcd2b6a1ebcd73228b941e69374217da1a89406d2 (diff)
Fix for #54 (#159)
I've noticed this behavior too, it really annoys.
Diffstat (limited to 'js')
-rw-r--r--js/gui/KeyboardShortcuts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gui/KeyboardShortcuts.js b/js/gui/KeyboardShortcuts.js
index 6b976ebc4..05e023544 100644
--- a/js/gui/KeyboardShortcuts.js
+++ b/js/gui/KeyboardShortcuts.js
@@ -427,8 +427,8 @@
// page up
}
- // everything with shift
- } else if (noInputFocused($(':focus')) && event.shiftKey) {
+ // everything with shift, just the shift
+ } else if (noInputFocused($(':focus')) && event.shiftKey && !event.ctrlKey && !event.altKey && !event.metaKey) {
// shift + a
if ([65].indexOf(keyCode) >= 0) {