Skip to content

Commit 7783add

Browse files
committed
One 'class' suffices; stopping only at ID's breaks wordpress sites in archive.org
1 parent 2405c51 commit 7783add

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content-script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ Repaginator.prototype = {
204204
log(LOG_DEBUG, "got class: " + pn.className);
205205
pieces.unshift("//" + pn.localName + "[@class='" +
206206
escapeXStr(pn.className) + "']");
207+
break;
207208
}
208209
}
209210
this.query = pieces.join("");

0 commit comments

Comments
 (0)