summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-05 07:49:00 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-05 07:49:00 +0000
commit0a67d5863827ac26f0d4e9ef6f53fce1c06f48ee (patch)
treef8d7aa4095c00fa303535cea50f90720e72f4dde /roundcubemail/program/js/app.js
parentb2c8ca5f6a9121ee7c8f89f4f7220c07196672c8 (diff)
- Improve r4038: we can use keypress on FF and Opera, here we've got repetition
- Small code cleanup git-svn-id: https://svn.roundcube.net/trunk@4039 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 3a2cb08bf..93db9b93e 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -2768,7 +2768,7 @@ function rcube_webmail()
this.init_address_input_events = function(obj)
{
- obj.keydown(function(e){ return ref.ksearch_keydown(e, this); })
+ obj[bw.ie || bw.safari || bw.chrome ? 'keydown' : 'keypress'](function(e){ return ref.ksearch_keydown(e, this); })
.attr('autocomplete', 'off');
};