ApoorvSaxena / ApoorvSaxena/lozad.js
Picture img Insertion helpful outside IE
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 7.5k
- Forks
- 435
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
From my experience using lozad so far I've needed to remove the isIE check when lazy loading pictures as chrome expects me to style the picture based off of a fallback img tag as opposed to styling the picture tag. Are others experiencing this / would it make sense to remove the isIE check before fallback img insertion? I made the change in my fork and also used hasAttribute in the attribute checks.
https://github.com/TiKevin83/lozad.js/commit/85044c802e39b9a7bed80004d791dfab778ef1eb
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.