aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-04-03 03:52:01 +0800
committerkumavis <aaron@kumavis.me>2018-04-03 03:52:01 +0800
commitf0e4097972342ea9b8f0e40ef24a1b9ea33d1812 (patch)
treebdec218c68f4a630ba6dec90fb57866364b49187 /old-ui
parent3f6554b637f99470bec279524e2ce35d8ef64d35 (diff)
downloadtangerine-wallet-browser-f0e4097972342ea9b8f0e40ef24a1b9ea33d1812.tar.gz
tangerine-wallet-browser-f0e4097972342ea9b8f0e40ef24a1b9ea33d1812.tar.zst
tangerine-wallet-browser-f0e4097972342ea9b8f0e40ef24a1b9ea33d1812.zip
lint - remove use of 'event' global
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/range-slider.js4
-rw-r--r--old-ui/app/config.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/old-ui/app/components/range-slider.js b/old-ui/app/components/range-slider.js
index 823f5eb01..bae740a74 100644
--- a/old-ui/app/components/range-slider.js
+++ b/old-ui/app/components/range-slider.js
@@ -35,7 +35,7 @@ RangeSlider.prototype.render = function () {
step: increment,
style: range,
value: state.value || defaultValue,
- onChange: mirrorInput ? this.mirrorInputs.bind(this, event) : onInput,
+ onChange: mirrorInput ? this.mirrorInputs.bind(this) : onInput,
}),
// Mirrored input for range
@@ -47,7 +47,7 @@ RangeSlider.prototype.render = function () {
value: state.value || defaultValue,
step: increment,
style: input,
- onChange: this.mirrorInputs.bind(this, event),
+ onChange: this.mirrorInputs.bind(this),
}) : null,
])
)
diff --git a/old-ui/app/config.js b/old-ui/app/config.js
index 7da3694ac..508770bd4 100644
--- a/old-ui/app/config.js
+++ b/old-ui/app/config.js
@@ -42,7 +42,7 @@ ConfigScreen.prototype.render = function () {
// subtitle and nav
h('.section-title.flex-row.flex-center', [
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
- onClick: (event) => {
+ onClick: () => {
state.dispatch(actions.goHome())
},
}),