Skip to content

Commit 965ceb3

Browse files
committed
[LRR] lazy-loading page thumbnails
1 parent 10cb919 commit 965ceb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comiclib/LANraragi/public/js/reader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ Reader.initializeArchiveOverlay = function () {
715715
const thumbnail = `
716716
<div class='${thumbCss} quick-thumbnail' page='${index}' style='display: inline-block; cursor: pointer'>
717717
<span class='page-number'>Page ${page}</span>
718-
<img src="./img/wait_warmly.jpg" id="${index}_thumb" />
718+
<img src="./img/wait_warmly.jpg" id="${index}_thumb" loading="lazy"/>
719719
<i id="${index}_spinner" class="fa fa-4x fa-circle-notch fa-spin ttspinner" style="display:flex;justify-content: center; align-items: center;"></i>
720720
</div>`;
721721

0 commit comments

Comments
 (0)