1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Reset disabled state for confirm button after every notice.

This commit is contained in:
Kevin Serrano 2017-03-22 21:34:39 -04:00
parent 8726ece16a
commit 61a6203808
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1

View File

@ -99,7 +99,10 @@ Notice.prototype.render = function () {
h('button', {
disabled,
onClick: onConfirm,
onClick: () => {
this.setState({disclaimerDisabled: true})
onConfirm()
},
style: {
marginTop: '18px',
},