summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/bg/js/settings/scan-inputs-simple-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/scan-inputs-simple-controller.js b/ext/bg/js/settings/scan-inputs-simple-controller.js
index 636fd102..a20eecdc 100644
--- a/ext/bg/js/settings/scan-inputs-simple-controller.js
+++ b/ext/bg/js/settings/scan-inputs-simple-controller.js
@@ -206,7 +206,7 @@ class ScanInputsSimpleController {
const includeValues = this._splitValue(include);
const excludeValues = this._splitValue(exclude);
if (
- (includeValues.length === 0 || (includeValues.length === 1 && includeValues.includes('mouse2'))) &&
+ (includeValues.length === 1 && includeValues[0] === 'mouse2') &&
excludeValues.length === 0
) {
return i;