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

#25076
Ernest MarcinkoErnest Marcinko
Keymaster

Well, maybe the DOMSubtreeModified will do the trick. That is definitely triggered when the content changes.

jQuery(function($) {
var t;
$('body').on("DOMSubtreeModified", function(event, id, instance, phrase) {
   clearTimeout(t);
   setTimeout(function(){
      $(window).scroll();
      $(document).scroll();
   }, 250);
 });
});