mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 06:48:00 +01:00
Fix [[/]]. Closes issue #24.
This commit is contained in:
@@ -555,7 +555,7 @@ const Buffer = Module("buffer", {
|
||||
return true;
|
||||
}
|
||||
|
||||
let res = util.evaluateXPath(options.get("hinttags").defaultValue, frame.document);
|
||||
let res = util.evaluateXPath(options.get("hinttags").defaultValues, frame.document);
|
||||
for (let [, regex] in Iterator(regexes)) {
|
||||
for (let i in util.range(res.snapshotLength, 0, -1)) {
|
||||
let elem = res.snapshotItem(i);
|
||||
|
||||
@@ -53,7 +53,8 @@ const Option = Class("Option", {
|
||||
if (arguments.length > 3) {
|
||||
if (this.type == "string")
|
||||
defaultValue = Commands.quote(defaultValue);
|
||||
this.defaultValue = this.joinValues(this.parseValues(defaultValue));
|
||||
this.defaultValues = this.parseValues(defaultValue)
|
||||
this.defaultValue = this.joinValues(this.defaultValues);
|
||||
}
|
||||
|
||||
if (extraInfo)
|
||||
@@ -1291,7 +1292,7 @@ const Options = Module("options", {
|
||||
: opt.name + "=" + opt.value]
|
||||
}
|
||||
for (opt in options)
|
||||
if (!opt.getter && opt.value != opt.defaultValue && (opt.scope & Option.SCOPE_GLOBAL))
|
||||
if (!opt.getter && opt.value !== opt.defaultValue && (opt.scope & Option.SCOPE_GLOBAL))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user