From d76523932e025ffed27a519ac1ae48d1082873e1 Mon Sep 17 00:00:00 2001 From: muhme Date: Fri, 29 Sep 2023 15:16:33 +0200 Subject: [PATCH] fix #23 Last feed entry is duplicated infinitely - checkLastPage option with selector '.hacky_link' inserted at InfiniteScroll creation - from the last page getNextPage() correctly returns null as feed.next = undefined - hidden DIV with '.hacky_link' is correctly not included for last page - InfinitScroll checks the presence of the '.hacky_link' selector and stops scrolling correctly if it is missing - variable lastPageLoaded cleaned, because it was always null --- lib/template.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/template.ejs b/lib/template.ejs index 31a41b4..f791049 100644 --- a/lib/template.ejs +++ b/lib/template.ejs @@ -108,13 +108,13 @@