summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-31 21:48:10 -0700
committerAlex Yatskov <alex@foosoft.net>2017-03-31 21:48:10 -0700
commit405e487a7347181f6f49f01839c807c84fc93e41 (patch)
tree2b5d055398e525d608b549d67b0b918b0ccba0ab /ext/mixed
parent1d9e911648c35a65ea706fa362515ae55958000d (diff)
ctrl + c to copy
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 9738319a..f950f0f0 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -301,7 +301,10 @@ class Display {
const handler = handlers[e.keyCode];
if (handler && handler()) {
e.preventDefault();
+ return true;
}
+
+ return false;
}
sourceBack() {