diff options
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/list.js b/program/js/list.js index de4d7c84a..06c355432 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -535,8 +535,6 @@ key_press: function(e) if (this.focused != true) return true; - this.shiftkey = e.shiftKey; - var keyCode = document.layers ? e.which : document.all ? event.keyCode : document.getElementById ? e.keyCode : 0; var mod_key = rcube_event.get_modifier(e); switch (keyCode) @@ -547,6 +545,7 @@ key_press: function(e) break; default: + this.shiftkey = e.shiftKey; this.key_pressed = keyCode; this.trigger_event('keypress'); } |