add videos, update dedup and lazy load image

This commit is contained in:
polv committed 2026-04-03 09:23:27 +07:00
1 parent bdc54b676b
commit 4244665934
5 files changed
+2468 -2

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ async function groupImages(lines, baseDir, threshold, stats) {
while (j < lines.length) {
/** @type {TextNode[]} */
const blanks = [];
while (j < lines.length && isBlank(lines[j])) {
while (j < lines.length && lines[j].type === "text") {
// isBlank already guarantees type === "text"
blanks.push(/** @type {TextNode} */ (lines[j]));
j++;