diff options
author | Alexander Tseung <alextsg@gmail.com> | 2017-12-04 14:24:30 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2017-12-15 06:11:23 +0800 |
commit | dde39e82b5723ba8056b73f0f823d40c3e702a99 (patch) | |
tree | 4143756e6660ac16b896a58dffef612f99770fd5 /ui/app/components/pages/keychains/reveal-seed.js | |
parent | e226b10a89d87af07c7c35ff1251a8264f3bb1b8 (diff) | |
download | tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.gz tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.bz2 tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.lz tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.xz tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.zst tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.zip |
Add routes for mascara
Diffstat (limited to 'ui/app/components/pages/keychains/reveal-seed.js')
-rw-r--r-- | ui/app/components/pages/keychains/reveal-seed.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/pages/keychains/reveal-seed.js b/ui/app/components/pages/keychains/reveal-seed.js index dc2cfc23e..029eb7d8e 100644 --- a/ui/app/components/pages/keychains/reveal-seed.js +++ b/ui/app/components/pages/keychains/reveal-seed.js @@ -8,7 +8,10 @@ const { DEFAULT_ROUTE } = require('../../../routes') class RevealSeedPage extends Component { componentDidMount () { - document.getElementById('password-box').focus() + const passwordBox = document.getElementById('password-box') + if (passwordBox) { + passwordBox.focus() + } } checkConfirmation (event) { |