mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add focus to password field.
This commit is contained in:
parent
02b0cf2e6d
commit
625c54b7ec
@ -144,6 +144,10 @@ InitializeMenuScreen.prototype.createVaultOnEnter = function (event) {
|
||||
}
|
||||
}
|
||||
|
||||
InitializeMenuScreen.prototype.componentDidMount = function () {
|
||||
document.getElementById('password-box').focus()
|
||||
}
|
||||
|
||||
InitializeMenuScreen.prototype.createNewVault = function () {
|
||||
var passwordBox = document.getElementById('password-box')
|
||||
var password = passwordBox.value
|
||||
|
Loading…
Reference in New Issue
Block a user