HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/root/usr/src/litespeed-wp-plugin/2.9.9.2/litespeed-cache/js/lazyload.init.js
/**
 * Lazyload init js
 *
 * @author LiteSpeed
 * @since 1.4
 *
 */

(function( window, document ){
	'use strict' ;

	var instance ;
	var update_lazyload ;

	var init = function(){
		instance = new LazyLoad( { elements_selector : "[data-lazyloaded]" } ) ;

		update_lazyload = function(){
			instance.update() ;
		};

		if ( window.MutationObserver ) {
			new MutationObserver( update_lazyload ).observe( document.documentElement, { childList: true, subtree: true, attributes: true } ) ;
		}
	};

	window.addEventListener ? window.addEventListener( "load", init, false ) : window.attachEvent( "onload", init ) ;

})( window, document ) ;