1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:07:59 +01:00

Use the default 'hinttags' value when finding "]]" links.

This commit is contained in:
Doug Kearns
2009-09-19 23:22:21 +10:00
parent a896c98434
commit 5a5e12eb1c

View File

@@ -1157,8 +1157,7 @@ function Buffer() //{{{
return true;
}
// TODO: this should probably use the default 'hinttags' value. --djk
let res = buffer.evaluateXPath(options["hinttags"], frame.document);
let res = buffer.evaluateXPath(options.get("hinttags").defaultValue, frame.document);
for (let [, regex] in Iterator(regexes))
{
for (let i in util.range(res.snapshotLength, 0, -1))