From: Aleksander Ɓukasz Date: Fri, 2 Aug 2013 10:38:38 +0000 (+0200) Subject: Fix X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/3cf3a2daadbd34576c9ae6cb4f96caef23c4e07d Fix --- 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 {