Skip to content

Commit 22c916c

Browse files
committed
fix: wrong xpath
1 parent 18cbce8 commit 22c916c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/content/hints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ const Hints = Module("hints", {
507507
let css = [];
508508
// FIXME: Broken for imgspans.
509509
for (let { doc } of this._docs) {
510-
for (let elem in util.evaluateXPath(" {//*[@liberator:highlight and @number]", doc)) {
510+
for (let elem in util.evaluateXPath("//*[@liberator:highlight and @number]", doc)) {
511511
let group = elem.getAttributeNS(NS.uri, "highlight");
512512
css.push(highlight.selector(group) + "[number=" + elem.getAttribute("number").quote() + "] { " + elem.style.cssText + " }");
513513
}

0 commit comments

Comments
 (0)