Only add loading class from inbox

This commit is contained in:
lilia 2015-08-26 17:48:02 -07:00
parent fbc73c0369
commit 17051cef9d
2 changed files with 2 additions and 1 deletions

View file

@ -66,6 +66,7 @@
appWindow: this.model.appWindow
});
$el = view.$el;
$el.find('.message-list').addClass('loading');
}
$el.prependTo(this.el);
$el.find('.message-list').trigger('reset-scroll');

View file

@ -19,7 +19,7 @@
Whisper.MessageListView = Whisper.ListView.extend({
tagName: 'ul',
className: 'message-list loading',
className: 'message-list',
itemView: Whisper.MessageView,
events: {
'add': 'onAdd',