Fix selected state transition on firstRun

// FREEBIE
pull/749/head
lilia 10 years ago
parent 8d214b73d9
commit db773dd8a7

@ -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…
Cancel
Save