Task_12281 (#1)
Co-authored-by: User A0264400 <a0264400@jarl.from.sh> Reviewed-on: #1 Co-authored-by: Anton.AE <ab.an.ev@yandex.ru> Co-committed-by: Anton.AE <ab.an.ev@yandex.ru>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*if ('loading' in HTMLImageElement.prototype && wbcr_robin.wpCompatibleLazy === 'yes') {
|
||||
//loading="lazy" in WP >= 5.5
|
||||
} else {
|
||||
}*/
|
||||
|
||||
const el = document.querySelectorAll('img');
|
||||
const observer = lozad(el, {
|
||||
loaded: function (el) {
|
||||
},
|
||||
});
|
||||
observer.observe();
|
||||
Reference in New Issue
Block a user