This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Issue with Lazy Loading of images

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

#25075
ssoulless45ssoulless45
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);
 });
});