From 3cf3a2daadbd34576c9ae6cb4f96caef23c4e07d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Fri, 2 Aug 2013 12:38:38 +0200 Subject: [PATCH] Fix --- modules/documentCanvas/canvas/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/documentCanvas/canvas/canvas.js b/modules/documentCanvas/canvas/canvas.js index 6f4e089..45147d1 100644 --- a/modules/documentCanvas/canvas/canvas.js +++ b/modules/documentCanvas/canvas/canvas.js @@ -175,7 +175,7 @@ $.extend(Canvas.prototype, { if(!element) { // Chrome hack var direction; - if(e.which === (KEYS.ARROW_LEFT || KEYS.ARROW_DOWN)) { + if(e.which === KEYS.ARROW_LEFT || e.which === KEYS.ARROW_UP) { direction = 'above'; caretTo = 'end'; } else { -- 2.20.1