diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-10-02 20:28:02 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-10-02 20:28:02 +0200 |
commit | 6547093937cd4ee33adb7f9e55ce6851e25a6a8f (patch) | |
tree | 2688409177d58d64bac864351a44645120e9bdfd /skins/larry/ui.js | |
parent | aa4612e7304d6a8f99842702593954c99a702b4d (diff) |
Backported commit 10467e8a5957 and other improvements
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r-- | skins/larry/ui.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js index fe449fddd..0d6ee9e67 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -75,7 +75,6 @@ function rcube_mail_ui() } if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') { - layout_messageview(); rcmail.addEventListener('aftershow-headers', function() { layout_messageview(); }); rcmail.addEventListener('afterhide-headers', function() { layout_messageview(); }); $('#previewheaderstoggle').click(function(e){ toggle_preview_headers(this); return false }); @@ -317,7 +316,7 @@ function rcube_mail_ui() */ function layout_messageview() { - $('#messagecontent').css('top', ($('#messageheader').outerHeight() + 10) + 'px'); + $('#messagecontent').css('top', ($('#messageheader').outerHeight() + 1) + 'px'); $('#message-objects div a').addClass('button'); if (!$('#attachment-list li').length) { |