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

Fix some Firefox version-specific brokenness.

This commit is contained in:
Kris Maglione
2010-11-07 07:33:25 -05:00
parent 21fe6d9fff
commit 506c684073
6 changed files with 8 additions and 16 deletions

View File

@@ -224,7 +224,6 @@ const Option = Class("Option", {
op: function (operator, values, scope, invert, str) {
let newValues = this._op(operator, values, scope, invert);
if (newValues == null)
return "Operator " + operator + " not supported for option type " + this.type;
@@ -538,6 +537,7 @@ const Option = Class("Option", {
stringlist: function (operator, values, scope, invert) {
values = Array.concat(values);
switch (operator) {
case "+":
return array.uniq(Array.concat(this.value, values), true);