natural solution, pagination is changing on new page

This commit is contained in:
Ghighi 2020-10-16 00:43:57 +03:00
parent 9adcfa99f4
commit 2ff286b672

View File

@ -183,7 +183,9 @@ $(function() {
//extraScrollPx: 300
});
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
$(".pagination").addClass("hidden");
if ($("body").hasClass("blur")) {
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
}
$(".load-more .row").isotope( "appended", $(data), null );
});