aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send-token/index.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-09-26 10:55:56 +0800
committerGitHub <noreply@github.com>2017-09-26 10:55:56 +0800
commit0d4433ed58ea7c5f9518170b7be44b194041eba7 (patch)
tree6635c935a75e69ed8d33703f6b174511df0b9cab /ui/app/components/send-token/index.js
parentfc3e071ad699f6c3586a20f12e06e6f456b0eea3 (diff)
parent5f6ec6aa982101bed57d9a8766330af71a274183 (diff)
downloadtangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.tar
tangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.tar.gz
tangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.tar.bz2
tangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.tar.lz
tangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.tar.xz
tangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.tar.zst
tangerine-wallet-browser-0d4433ed58ea7c5f9518170b7be44b194041eba7.zip
Merge branch 'NewUI-flat' into MM-57-use-gas-estimator
Diffstat (limited to 'ui/app/components/send-token/index.js')
-rw-r--r--ui/app/components/send-token/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/send-token/index.js b/ui/app/components/send-token/index.js
index e4f13a874..379f63883 100644
--- a/ui/app/components/send-token/index.js
+++ b/ui/app/components/send-token/index.js
@@ -240,7 +240,10 @@ SendTokenScreen.prototype.renderToAddressInput = function () {
this.setErrorsFor('to')
this.estimateGasAndPrice()
},
- onFocus: () => this.clearErrorsFor('to'),
+ onFocus: event => {
+ if (to) event.target.select()
+ this.clearErrorsFor('to')
+ },
}),
h('datalist#addresses', [
// Corresponds to the addresses owned.