From 1586cf7423ba350ea3a3afaa0566afe4521904e9 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 8 Mar 2015 12:15:47 +0200 Subject: client: fix up/down being handled both by completer and by type selector when shift pressed --- src/client/view/textanalyser_input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/view/textanalyser_input.js') 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 () { -- cgit v1.3.1