Resize GROUP PMs more aggressively.

(imported from commit fbef79f2bb544648fcf4ea26e25354a7ed6912df)
This commit is contained in:
Steve Howell 2013-11-14 16:57:55 -05:00
parent ee28e5e2f6
commit 788943887a
1 changed files with 1 additions and 6 deletions

View File

@ -367,6 +367,7 @@ function process_loaded_for_unread(messages) {
activity.update_huddles();
unread.process_loaded_messages(messages);
update_unread_counts();
ui.resize_page_components();
}
// Takes a list of messages and marks them as read
@ -1277,12 +1278,6 @@ function main() {
// get the initial message list
function load_more(messages) {
// After our initial batch of messages, we have enough info to do basic sizing of
// sidebars. In particular, this allows GROUP PMs to become visible. This line of
// code doesn't have to be precisely here, but it seemed like a good place to put it.
// Basically, we want to simulate a resize event shortly after reload.
ui.resize_page_components();
// If we received the initially selected message, select it on the client side,
// but not if the user has already selected another one during load.
//