Skip to content

Commit

Permalink
Remove loading='lazy' to fix firefox scroll-to-start bug (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
siliconfeces authored Oct 15, 2023
1 parent f60e795 commit 495f7cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/js/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ Reader.initInfiniteScrollView = function () {
Reader.pages.slice(1).forEach((source) => {
const img = new Image();
img.id = `page-${Reader.pages.indexOf(source)}`;
img.loading = "lazy";
img.height = 800;
img.width = 600;
img.src = source;
Expand Down

0 comments on commit 495f7cb

Please sign in to comment.