aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-03-23 09:34:39 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-03-23 09:38:37 +0800
commit61a62038084c29fb29c8445feca36bce9e756471 (patch)
treea788907e3e339c8828f46b6f2ab1d5d8144967b2 /ui
parent8726ece16a9357219524c59c6bb463971063a92b (diff)
downloadtangerine-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')
-rw-r--r--ui/app/components/notice.js5
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',
},