diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-23 05:13:10 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-23 05:13:10 +0800 |
commit | c4056a861a4a383b3bea18225e71435bdf75f6d0 (patch) | |
tree | 7f804b0b5cfec4b6f462be584a0f87f2e79b8303 /app | |
parent | 869d7313192df9ffa0941c3dc808dc73b812e656 (diff) | |
download | tangerine-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.js | 2 |
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) { |