diff --git a/src/js/core.js b/src/js/core.js index 6e842a68..285b86f4 100644 --- a/src/js/core.js +++ b/src/js/core.js @@ -1915,9 +1915,7 @@ sizes = slide.opts.sizes; if (!sizes || sizes === "auto") { - sizes = - (slide.width / slide.height > 1 && $W.width() / $W.height() > 1 ? "100" : Math.round((slide.width / slide.height) * 100)) + - "vw"; + sizes = "100vw"; } $img.attr("sizes", sizes).attr("srcset", slide.opts.srcset);