1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 18:42:28 +01:00

Fix :set -= (botched expression closure removal).

Closes #61.
This commit is contained in:
Doug Kearns
2015-06-15 17:24:02 +10:00
parent 07928ba263
commit 079277f28b

View File

@@ -708,8 +708,8 @@ var Option = Class("Option", {
return uniq(Array.concat(values, this.value), true);
case "-":
return this.value.filter(function (item) {
return !this.has(item), new RealSet(values);
});
return !this.has(item);
}, new RealSet(values));
case "=":
if (invert) {
let old = this.value.map(String);