aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-23 05:13:10 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-23 05:13:10 +0800
commitc4056a861a4a383b3bea18225e71435bdf75f6d0 (patch)
tree7f804b0b5cfec4b6f462be584a0f87f2e79b8303 /app
parent869d7313192df9ffa0941c3dc808dc73b812e656 (diff)
downloadtangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.tar
tangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.tar.gz
tangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.tar.bz2
tangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.tar.lz
tangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.tar.xz
tangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.tar.zst
tangerine-wallet-browser-c4056a861a4a383b3bea18225e71435bdf75f6d0.zip
Move state update outside of conditional callback block
Diffstat (limited to 'app')
-rw-r--r--app/scripts/keyring-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index 224d6ba7a..cb92af388 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -180,8 +180,8 @@ module.exports = class KeyringController extends EventEmitter {
if (cb) {
cb()
- this.emit('update')
}
+ this.emit('update')
}
submitPassword (password, cb) {