adventskalender/2025/js/background.js aktualisiert
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
}
|
||||
|
||||
// === Bildpfad bestimmen ===
|
||||
let imgPath = "assets/picture/Basisbild.png";
|
||||
let imgPath = "assets/image/Basisbild.webp";
|
||||
if (dayToShow >= 1 && dayToShow <= 24) {
|
||||
const padded = String(dayToShow).padStart(2, "0");
|
||||
imgPath = `assets/picture/${padded}.png`;
|
||||
imgPath = `assets/image/${padded}.ebp`;
|
||||
}
|
||||
|
||||
// === Funktion zum Setzen des Favicons ===
|
||||
|
||||
Reference in New Issue
Block a user