From 710c31d1ca1a20a0decdaf601cb4dd87170db2ab Mon Sep 17 00:00:00 2001 From: cbartondock Date: Mon, 29 Mar 2021 14:13:22 -0400 Subject: [PATCH] Fixed book details not loading after infinite scroll --- cps/static/js/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cps/static/js/main.js b/cps/static/js/main.js index d428ed62..59a658d2 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -316,6 +316,8 @@ $(function() { $loadMore.on( "append.infiniteScroll", function( event, response, path, data ) { if ($("body").hasClass("blur")) { $(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html()); + $(" a:not(.dropdown-toggle) ") + .removeAttr("data-toggle"); } $(".load-more .row").isotope( "appended", $(data), null ); });