From 9c43eedefa3c5d35632a4e3f25718d92b420a5d7 Mon Sep 17 00:00:00 2001 From: Vivek Soundrapandi Date: Fri, 4 Oct 2019 17:51:33 +0530 Subject: [PATCH] load dummy image to avoid duplicate request getting sent on lazy load --- blazy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazy.js b/blazy.js index 00af78d..c4fb3a5 100644 --- a/blazy.js +++ b/blazy.js @@ -227,7 +227,7 @@ // Is element an image if (isImage) { if(!isPicture) { - handleSources(ele, src, srcset); + handleSources(ele, "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", srcset); } // or background-image } else {