Pagination button disapears in standard theme once infinite scroll is triggered

This commit is contained in:
Ozzie Isaacs 2022-04-12 18:45:06 +02:00
parent 652d0fd86f
commit 028e6855a7

View File

@ -381,8 +381,8 @@ $(function() {
//extraScrollPx: 300 //extraScrollPx: 300
}); });
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) { $loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
if ($("body").hasClass("blur")) {
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html()); $(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
if ($("body").hasClass("blur")) {
$(" a:not(.dropdown-toggle) ") $(" a:not(.dropdown-toggle) ")
.removeAttr("data-toggle"); .removeAttr("data-toggle");
} }