diff --git a/lazyload.js b/lazyload.js index 6b76a3c0..c2ac3371 100644 --- a/lazyload.js +++ b/lazyload.js @@ -118,7 +118,7 @@ entry.target.srcset = srcset; } } else { - entry.target.style.backgroundImage = "url(" + src + ")"; + entry.target.style.backgroundImage = "url('" + src + "')"; } } });