Lazy Load Images function Uncaught TypeError: d.update is not a function
-
Hi, on staging site i disabled all plugins apart Theme and it’s dependencies , LiteSpeed Cache. Enabling lazy load images funcion, i got errors
Uncaught TypeError: d.update is not a function at MutationObserver.o (parduotuve/:125:39420)
!function(e, t) { "use strict"; function a() { t.body.classList.add("litespeed_lazyloaded") } function n() { console.log("[LiteSpeed] Start Lazy Load Images"), d = new LazyLoad({ elements_selector: "[data-lazyloaded]", callback_finish: a }), o = function() { d.update() } , e.MutationObserver && new MutationObserver(o).observe(t.documentElement, { childList: !0, subtree: !0, attributes: !0 }) } var d, o; e.addEventListener ? e.addEventListener("load", n, !1) : e.attachEvent("onload", n) }(window, document); </script> </body> </html> <!-- Page optimized by LiteSpeed Cache @2024-01-25 12:50:32 --> <!-- Page cached by LiteSpeed Cache 6.0.0.1 on 2024-01-25 12:50:32 --> <!-- QUIC.cloud CCSS loaded ? /ccss/3957d678fa1eb0b9d14be8bea441a3c1.css
Is there any fix for that ?
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Lazy Load Images function Uncaught TypeError: d.update is not a function’ is closed to new replies.