summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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) {