Fehlelrkorrekturen
This commit is contained in:
@@ -66,10 +66,10 @@
|
||||
|
||||
// === <img> (JPEG-Fallback) ===
|
||||
const jpegSrcset = breakpoints
|
||||
.map(bp => `${basePath}${bp}/jpeg/${filename}.jpg ${bp}w`)
|
||||
.map(bp => `${basePath}${bp}/jpeg/${filename}.jpeg ${bp}w`)
|
||||
.join(", ");
|
||||
|
||||
img.setAttribute("src", `${basePath}1920/jpeg/${filename}.jpg`);
|
||||
img.setAttribute("src", `${basePath}1920/jpeg/${filename}.jpeg`);
|
||||
img.setAttribute("srcset", jpegSrcset);
|
||||
img.setAttribute("sizes", "100vw");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user