Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Issue with Lazy Loading of images › Reply To: Issue with Lazy Loading of images
December 17, 2019 at 4:26 pm
#25075
Participant
I tried using another event like
/*trigger the lazyload once the search filtering is finished*/
jQuery(function($) {
$(".asp_search_end").on("asp_results_show", function(event, id, instance) {
console.log("Results loaded ASP");
setTimeout(function(){
$(window).scroll();
$(document).scroll();
}, 250);
});
});
But not working neither, also tried to use the results container but it’s not working neither:
/*trigger the lazyload once the search filtering is finished*/
jQuery(function($) {
$("#mf-shop-content").on("asp_results_show", function(event, id, instance) {
console.log("Results loaded ASP");
setTimeout(function(){
$(window).scroll();
$(document).scroll();
}, 250);
});
});