From 495f7cbbc3304a8c2fdcf446631179e6d4bde811 Mon Sep 17 00:00:00 2001 From: siliconfeces <124937394+siliconfeces@users.noreply.github.com> Date: Sun, 15 Oct 2023 02:49:47 +0200 Subject: [PATCH] Remove loading='lazy' to fix firefox scroll-to-start bug (#866) --- public/js/reader.js | 1 - 1 file changed, 1 deletion(-) diff --git a/public/js/reader.js b/public/js/reader.js index 3cc9175ae..48646cc1d 100644 --- a/public/js/reader.js +++ b/public/js/reader.js @@ -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;