Move some initial setup to the 'opened' event
Avoid inbox views digging too deep into conversation views. // FREEBIE
This commit is contained in:
parent
2861fa26a7
commit
2ee8cae8d4
2 changed files with 9 additions and 4 deletions
|
@ -56,9 +56,6 @@
|
|||
$el = view.$el;
|
||||
}
|
||||
$el.prependTo(this.el);
|
||||
$el.find('.message-list').trigger('reset-scroll');
|
||||
$el.trigger('force-resize');
|
||||
conversation.markRead();
|
||||
conversation.trigger('opened');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue