mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
event object actually passed to this.createKeyringOnEnter in private-key.js
This commit is contained in:
parent
1153120fe8
commit
6ecf2c8092
@ -30,6 +30,7 @@ function mapDispatchToProps (dispatch) {
|
||||
|
||||
inherits(PrivateKeyImportView, Component)
|
||||
function PrivateKeyImportView () {
|
||||
this.createKeyringOnEnter = this.createKeyringOnEnter.bind(this)
|
||||
Component.call(this)
|
||||
}
|
||||
|
||||
@ -46,7 +47,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),
|
||||
}),
|
||||
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user