ApoorvSaxena / ApoorvSaxena/lozad.js
Picture img Insertion helpful outside IE
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 7.5k
- Forks
- 435
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.