From edda4778ac607ff80383801c18aeea1aa72e31ca Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 20 Sep 2020 11:30:38 -0400 Subject: Delete old scanning options during update (#851) --- ext/bg/js/options.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/bg/js') 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) { -- cgit v1.2.3