diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-20 11:30:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-20 11:30:38 -0400 |
commit | edda4778ac607ff80383801c18aeea1aa72e31ca (patch) | |
tree | b63c2219cf551604b98e4a551e680fd0c9655b40 /ext/bg/js/options.js | |
parent | 07c95c56ba8873463f45b2ba027e4826a6a423ca (diff) |
Delete old scanning options during update (#851)
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index fda6026d..6026fa07 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -532,6 +532,8 @@ class OptionsUtil { profileOptions.scanning.pointerEventsEnabled = false; const {modifier, middleMouse} = profileOptions.scanning; + delete profileOptions.scanning.modifier; + delete profileOptions.scanning.middleMouse; const scanningInputs = []; let modifierInput = ''; switch (modifier) { |