Fix
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 2 Aug 2013 10:38:38 +0000 (12:38 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 5 Aug 2013 10:20:07 +0000 (12:20 +0200)
modules/documentCanvas/canvas/canvas.js

index 6f4e089..45147d1 100644 (file)
@@ -175,7 +175,7 @@ $.extend(Canvas.prototype, {
                     if(!element) {
                         // Chrome hack
                         var direction;
                     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 {
                             direction = 'above';
                             caretTo = 'end';
                         } else {