diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-26 21:17:01 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-26 21:17:01 -0500 |
commit | 2d109c3e56231fc84dd225977bc4ef78eac9ed4d (patch) | |
tree | 807c63ff32f5293a17e619a7e5e5d2f5a364cde3 /ext/bg/js/settings/main.js | |
parent | 8bc1a409144898124386ef03e921efb2a6e73a8f (diff) |
Use functions directly rather than wrapping in () => {} when args are same
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r-- | ext/bg/js/settings/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js index d1ad2c6b..127a6d2b 100644 --- a/ext/bg/js/settings/main.js +++ b/ext/bg/js/settings/main.js @@ -200,7 +200,7 @@ async function formWrite(options) { } function formSetupEventListeners() { - $('input, select, textarea').not('.anki-model').not('.ignore-form-changes *').change((e) => onFormOptionsChanged(e)); + $('input, select, textarea').not('.anki-model').not('.ignore-form-changes *').change(onFormOptionsChanged); } function formUpdateVisibility(options) { |