Skip to content

Commit a1eee56

Browse files
committed
Remove goal of avoiding the loop through all els
1 parent 6fe9755 commit a1eee56

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/plugin/pagebreaks.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Worker.prototype.toContainer = function toContainer() {
4747
legacyEls = Array.prototype.slice.call(legacyEls);
4848

4949
// Loop through all elements.
50-
// TODO: Only loop through all if css option is chosen?
5150
var els = root.querySelectorAll('*');
5251
Array.prototype.forEach.call(els, function pageBreak_loop(el) {
5352
// Setup pagebreak rules based on legacy and avoidAll modes.

0 commit comments

Comments
 (0)