diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-04-06 14:17:22 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-04-06 14:17:22 +0800 |
commit | 4c15c0d3baa15638d75aa5e1a8f336e515d35f95 (patch) | |
tree | 2cdb6ea7faaf39bb577986d62fc2b17bef586def /ui/app/components/pages | |
parent | 2db55cd0de31abacf2d00eba76505fa6b880928d (diff) | |
parent | 77486a23654a7709091f99bc7ef76d894a46113a (diff) | |
download | tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.tar tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.tar.gz tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.tar.bz2 tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.tar.lz tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.tar.xz tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.tar.zst tangerine-wallet-browser-4c15c0d3baa15638d75aa5e1a8f336e515d35f95.zip |
Merge branch 'master' of https://github.com/MetaMask/metamask-extension into cb-254
Diffstat (limited to 'ui/app/components/pages')
-rw-r--r-- | ui/app/components/pages/create-account/import-account/private-key.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/pages/create-account/import-account/private-key.js b/ui/app/components/pages/create-account/import-account/private-key.js index 0f6789282..c77612ea4 100644 --- a/ui/app/components/pages/create-account/import-account/private-key.js +++ b/ui/app/components/pages/create-account/import-account/private-key.js @@ -35,6 +35,7 @@ function mapDispatchToProps (dispatch) { inherits(PrivateKeyImportView, Component) function PrivateKeyImportView () { + this.createKeyringOnEnter = this.createKeyringOnEnter.bind(this) Component.call(this) } @@ -51,7 +52,7 @@ PrivateKeyImportView.prototype.render = function () { h('input.new-account-import-form__input-password', { type: 'password', id: 'private-key-box', - onKeyPress: () => this.createKeyringOnEnter(), + onKeyPress: e => this.createKeyringOnEnter(e), }), ]), |