Replaced preventDefault with cancel

This commit is contained in:
Antonis Kalipetis
2015-01-28 11:20:47 +02:00
parent 9ef6b52352
commit f00d8964c2
+2 -2
View File
@@ -2201,7 +2201,7 @@
// left-arrow // left-arrow
case 37: case 37:
if (ev.altKey) { if (ev.altKey) {
ev.preventDefault(); this.cancel(ev, true);
key = '\x1bb' // Jump a word back key = '\x1bb' // Jump a word back
break; break;
} else if (this.applicationCursor) { } else if (this.applicationCursor) {
@@ -2213,7 +2213,7 @@
// right-arrow // right-arrow
case 39: case 39:
if (ev.altKey) { if (ev.altKey) {
ev.preventDefault(); this.cancel(ev, true);
key = '\x1bf' // Jump a word forward key = '\x1bf' // Jump a word forward
break; break;
} else if (this.applicationCursor) { } else if (this.applicationCursor) {