Fehlelrkorrekturen

This commit is contained in:
Thomas committed 2025-11-10 13:03:59 +01:00
1 parent c41621d901
commit e82891c544
2 files changed
+98 -2

No files matched your search

+2 -2
View File
@@ -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");