Open eugenyshiryaev opened 4 years ago
Попробовать заменить в 120 строке:
} else {
на
} else if ("source" === entry.target.tagName.toLowerCase()) { if (srcset) { entry.target.srcset = srcset; } } else {
и в 145 строке:
} else {
на
} else if ("source" === image.tagName.toLowerCase()) { if (srcset) { image.srcset = srcset; } } else {
Doesn't seem like it does. Any chance we can get support for this?
Update: if anyone else comes across this - here's an alternative: https://github.com/verlok/vanilla-lazyload
`