summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-01 21:39:30 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-01 21:39:30 +0200
commitdd525814ca2725e9b11692551d01a5bdf7931b04 (patch)
treecf0741b679ea8a2eb92d07fa88e77b1b59f13b04 /skins/larry/ui.js
parentc23aad2feb9923cbf9197f4d99f73978a61de832 (diff)
Replacement for commit af276f21e536:
- add a more discrete toggle for all headers to message preview - fix message display page issues (#1488590, #1488642)
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index c01a17cd2..9b5d8309c 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -73,7 +73,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 });
@@ -321,7 +320,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) {