summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-12-17 09:25:15 +0100
committerAleksander Machniak <alec@alec.pl>2014-12-17 09:25:15 +0100
commit343dc97ba18bd5a4894820496fa44033c2cec381 (patch)
tree83dbfd2cb60da3378edbfc03e451e91bd20da690
parent877e44bd8f0ed6dbd7cf9b179ac8dfd2c5954012 (diff)
parentb80f4bafc31fe40ff1263ed4923c0f0a88f64024 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
-rw-r--r--skins/larry/ui.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 583763ad1..fb7ca318c 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -149,7 +149,12 @@ function rcube_mail_ui()
rcmail.addEventListener('enable-command', enable_command)
.addEventListener('aftershow-headers', function() { layout_messageview(); })
.addEventListener('afterhide-headers', function() { layout_messageview(); });
- $('#previewheaderstoggle').click(function(e){ toggle_preview_headers(); return false });
+ $('#previewheaderstoggle').click(function(e) {
+ toggle_preview_headers();
+ if (this.blur && !rcube_event.is_keyboard(e))
+ this.blur();
+ return false;
+ });
// add menu link for each attachment
$('#attachment-list > li').each(function() {