aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/eth-store-warning.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/eth-store-warning.js')
-rw-r--r--ui/app/eth-store-warning.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/eth-store-warning.js b/ui/app/eth-store-warning.js
index 4cc5da81c..7fe54a309 100644
--- a/ui/app/eth-store-warning.js
+++ b/ui/app/eth-store-warning.js
@@ -56,14 +56,14 @@ EthStoreWarning.prototype.render = function () {
}, [
h('input', {
type: 'checkbox',
- onChange: this.toggleShowWarning.bind(this, event),
+ onChange: this.toggleShowWarning.bind(this),
}),
h('.warning', {
style: {
fontSize: '11px',
},
- }, 'Dont show me this message again'),
+ }, 'Don\'t show me this message again'),
]),
h('.flex-row', {
style: {
@@ -80,7 +80,7 @@ EthStoreWarning.prototype.render = function () {
)
}
-EthStoreWarning.prototype.toggleShowWarning = function (event) {
+EthStoreWarning.prototype.toggleShowWarning = function () {
this.props.dispatch(actions.agreeToEthWarning())
}