diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-23 09:34:39 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-23 09:38:37 +0800 |
commit | 61a62038084c29fb29c8445feca36bce9e756471 (patch) | |
tree | a788907e3e339c8828f46b6f2ab1d5d8144967b2 /ui/app | |
parent | 8726ece16a9357219524c59c6bb463971063a92b (diff) | |
download | tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.tar tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.tar.gz tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.tar.bz2 tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.tar.lz tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.tar.xz tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.tar.zst tangerine-wallet-browser-61a62038084c29fb29c8445feca36bce9e756471.zip |
Reset disabled state for confirm button after every notice.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/notice.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js index 23ded9d5d..8a953a6b5 100644 --- a/ui/app/components/notice.js +++ b/ui/app/components/notice.js @@ -99,7 +99,10 @@ Notice.prototype.render = function () { h('button', { disabled, - onClick: onConfirm, + onClick: () => { + this.setState({disclaimerDisabled: true}) + onConfirm() + }, style: { marginTop: '18px', }, |