summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-07-09 23:41:40 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-07-09 23:41:40 +0200
commit73ad4f1bfdf104055104907c11f97315d6fb2ebe (patch)
treea8c0702d35944d4fa970b11817a7cd0e45932558 /skins/larry/ui.js
parent95a18fa549c9576b7035d27ef1712c5dfd01422d (diff)
Finally: make message list header stay on top when scrolling (#1295420)
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 19f05cca4..e5733bd23 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -600,8 +600,11 @@ function rcube_mail_ui()
mailviewsplit.handle.hide();
}
- if (visible && uid && rcmail.message_list)
- rcmail.message_list.scrollto(uid);
+ if (rcmail.message_list) {
+ if (visible && uid)
+ rcmail.message_list.scrollto(uid);
+ rcmail.message_list.resize();
+ }
rcmail.command('save-pref', { name:'preview_pane', value:(visible?1:0) });
}