Move Whisper.events out of views and tests

This commit is contained in:
lilia 2017-04-21 13:21:18 -07:00
parent a1c7369347
commit 40af226a4a
6 changed files with 13 additions and 6 deletions

View file

@ -15,7 +15,9 @@
installView.hideDots();
}
installView.$el.show();
Whisper.events.on('contactsync:begin', installView.showSync, installView);
Whisper.events.on('contactsync', function() {
installView.close();
bg.openInbox();
window.close();
});