Only add loading class from inbox
This commit is contained in:
parent
fbc73c0369
commit
17051cef9d
2 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
Whisper.MessageListView = Whisper.ListView.extend({
|
||||
tagName: 'ul',
|
||||
className: 'message-list loading',
|
||||
className: 'message-list',
|
||||
itemView: Whisper.MessageView,
|
||||
events: {
|
||||
'add': 'onAdd',
|
||||
|
|
Loading…
Reference in a new issue