diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-31 05:08:14 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-31 05:08:14 +0800 |
commit | 625c54b7eca1c12f5d95b3ae9d2374315abc0c2b (patch) | |
tree | 73ec027c02eb90f5d9df95af15169f7f8ea7f72e /ui | |
parent | 02b0cf2e6d038ead318e9a8b63d493ba710a5187 (diff) | |
download | tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.tar tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.tar.gz tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.tar.bz2 tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.tar.lz tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.tar.xz tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.tar.zst tangerine-wallet-browser-625c54b7eca1c12f5d95b3ae9d2374315abc0c2b.zip |
Add focus to password field.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/first-time/init-menu.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/first-time/init-menu.js b/ui/app/first-time/init-menu.js index bd6541dd4..b1155e2f6 100644 --- a/ui/app/first-time/init-menu.js +++ b/ui/app/first-time/init-menu.js @@ -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 |