summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-20 11:30:38 -0400
committerGitHub <noreply@github.com>2020-09-20 11:30:38 -0400
commitedda4778ac607ff80383801c18aeea1aa72e31ca (patch)
treeb63c2219cf551604b98e4a551e680fd0c9655b40
parent07c95c56ba8873463f45b2ba027e4826a6a423ca (diff)
Delete old scanning options during update (#851)
-rw-r--r--ext/bg/js/options.js2
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) {