summaryrefslogtreecommitdiff
path: root/src/client/view/textanalyser_input.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-03-08 12:15:47 +0200
committerAlon Levy <alon@pobox.com>2015-03-08 12:15:47 +0200
commit1586cf7423ba350ea3a3afaa0566afe4521904e9 (patch)
treec7c83bb7e07eb2b37382a6d2c09f05a09e249964 /src/client/view/textanalyser_input.js
parente4fa918727d6583152e5b91df8873b53079f3c33 (diff)
client: fix up/down being handled both by completer and by type selector when shift pressed
Diffstat (limited to 'src/client/view/textanalyser_input.js')
-rw-r--r--src/client/view/textanalyser_input.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view/textanalyser_input.js b/src/client/view/textanalyser_input.js
index f6f7bc04..15b59776 100644
--- a/src/client/view/textanalyser_input.js
+++ b/src/client/view/textanalyser_input.js
@@ -6,8 +6,8 @@ var value = util.value;
// Constants
var nbsp = String.fromCharCode(160),
- VK_UP = 38,
- VK_DOWN = 40;
+ VK_UP = consts.VK_UP,
+ VK_DOWN = consts.VK_DOWN;
function textanalyser_input(spec) {
var selectionStart = function () {