summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-06-16 12:35:57 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-06-16 12:35:57 +0200
commit9749aeeb0bda83019c1872a72d438a19f9cb3085 (patch)
treed80ae2489f18c2021fcb5446417e3de57bfee846 /program/js/app.js
parent9c513f44a2f0ee212ca9b298a90582db19f269b3 (diff)
Avoid scrolling of lists and menus when navigating with cursor keys (#1489929)
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index ea7be4eac..82b69c4db 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1677,7 +1677,7 @@ function rcube_webmail()
case 63232: // "up", in safari keypress
case 63233: // "down", in safari keypress
focus_menu_item(keyCode == 38 || keyCode == 63232 ? -1 : 1);
- break;
+ return rcube_event.cancel(e);
case 9: // tab
if (this.focused_menu) {