mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
lint - remove use of 'event' global
This commit is contained in:
parent
3f6554b637
commit
f0e4097972
@ -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,
|
||||
])
|
||||
)
|
||||
|
@ -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())
|
||||
},
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user