Commit 2ff286b6 authored by Ghighi's avatar Ghighi

natural solution, pagination is changing on new page

parent 9adcfa99
......@@ -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 );
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment