Clean up notification and unread indicator behavior

This commit is contained in:
lilia 2015-08-27 14:59:04 -07:00
parent e0f84d9c8e
commit 21aaf0fab5
3 changed files with 9 additions and 17 deletions

View file

@ -66,7 +66,9 @@
appWindow: this.model.appWindow
});
$el = view.$el;
$el.find('.message-list').addClass('loading');
if (conversation.messageCollection.length === 0) {
$el.find('.message-list').addClass('loading');
}
}
$el.prependTo(this.el);
$el.find('.message-list').trigger('reset-scroll');