Created condense.js (with code taken from ui.js).

(imported from commit 72b27b48614a7c396170d46936646e52757e2743)
This commit is contained in:
Steve Howell
2014-03-13 15:22:09 -04:00
committed by Leo Franchi
parent af3411cab8
commit f8b71fa497
9 changed files with 159 additions and 152 deletions

View File

@@ -368,7 +368,7 @@ MessageListView.prototype = {
// getBoundingClientRect to work.
// Also, the list must actually be visible.
if (list === current_msg_list) {
ui.condense_and_collapse(rendered_messages);
condense.condense_and_collapse(rendered_messages);
}
// Must happen after anything that changes the height of messages has