Fix selected state transition on firstRun
// FREEBIE
This commit is contained in:
parent
8d214b73d9
commit
db773dd8a7
1 changed files with 2 additions and 1 deletions
|
@ -105,9 +105,10 @@
|
|||
if (inboxCollection.length === 0) {
|
||||
this.searchView.showAllContacts = true;
|
||||
this.searchView.reset();
|
||||
this.listenToOnce(inboxCollection, 'add', function() {
|
||||
this.listenToOnce(inboxCollection, 'add', function(model) {
|
||||
this.searchView.showAllContacts = false;
|
||||
this.searchView.reset();
|
||||
model.trigger('opened');
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue