summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-11 10:28:18 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-11 10:28:18 +0100
commit8d91770bcc4811cacab6aacb682b51369035287c (patch)
treea48f1efb8681f414eaefe1e3e727bf8a57ed2ea0 /program/js/app.js
parentceb2a31b3857925e749047e2c4c574a38bf8e9ed (diff)
Do not start autocomplete request on arrow keys press
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 257c10980..9b5b505dc 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4208,7 +4208,7 @@ function rcube_webmail()
case 38: // arrow up
case 40: // arrow down
if (!this.ksearch_visible())
- break;
+ return;
var dir = key==38 ? 1 : 0;
@@ -4243,8 +4243,7 @@ function rcube_webmail()
case 37: // left
case 39: // right
- if (mod != SHIFT_KEY)
- return;
+ return;
}
// start timer