Warning: Undefined array key "yPBFjS" in /home/ic3/domains/ic3.info/public_html/wp-includes/kses.php on line 1
HEX
HEX
Server: LiteSpeed
System: Linux control5.webnow.vn 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: ic3 (1169)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/ic3/public_html/wp-content/themes/flatsome/inc/integrations/wp-rocket/flatsome-wp-rocket.js
/* eslint-disable semi, no-var */
Flatsome.behavior('wp-rocket-lazy-load-packery', {
  attach: function (context) {
    var $lazyLoad = jQuery('.has-packery .lazy-load', context)

    if (!$lazyLoad.length) return

    var observer = new IntersectionObserver(function (entries) {
      entries.forEach(function (entry) {
        if (entry.intersectionRatio > 0) {
          observer.unobserve(entry.target)
          jQuery(entry.target).imagesLoaded(function () {
            jQuery('.has-packery').packery('layout')
          })
        }
      })
    }, {
      rootMargin: '0px',
      threshold: 0.1
    })

    $lazyLoad.each(function (i, el) {
      observer.observe(el)
    })
  }
});