From a1117fbc0eb357130866bd9ffd9ad7de9a721828 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 26 Aug 2022 16:29:53 +0200 Subject: [PATCH] Fix project/experiment scroll issue [SCI-7117] --- app/assets/javascripts/sitewide/infinite_scroll.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/sitewide/infinite_scroll.js b/app/assets/javascripts/sitewide/infinite_scroll.js index 69de4ee83..6db3e03f6 100644 --- a/app/assets/javascripts/sitewide/infinite_scroll.js +++ b/app/assets/javascripts/sitewide/infinite_scroll.js @@ -99,6 +99,7 @@ var InfiniteScroll = (function() { let eventTarget = $($container.data('config').eventTarget) || $container; $container.data('config', null); $container.data('next-page', null); + $container.removeClass('last-page'); eventTarget.off('scroll'); }