summaryrefslogtreecommitdiff
path: root/startpage.html
diff options
context:
space:
mode:
authorSimon <vesspa0330@gmail.com>2025-07-25 20:48:50 -0400
committerSimon <vesspa0330@gmail.com>2025-07-25 20:48:50 -0400
commit35f467e4405d400b775a500aa72347e699d7caf7 (patch)
tree30ef9a1a0bc19cabad07bdbacc079212fbb71d1e /startpage.html
parent8654d12e42a8b891c6b261f27e1f27e0bd347cde (diff)
fixed broken wallpaer tiling function
Diffstat (limited to 'startpage.html')
-rw-r--r--startpage.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/startpage.html b/startpage.html
index 8980dee..1197d02 100644
--- a/startpage.html
+++ b/startpage.html
@@ -1769,6 +1769,8 @@
.getElementById("wallpaperColorPicker")
.addEventListener("input", changeWallpaper, false);
document
+ .getElementById("wallpaperRepeatToggle")
+ .addEventListener("change", toggleWallpaperRepeat, false);
/** load container data */
let zIndexMapData = JSON.parse(localStorage.getItem("zIndexMapData")) || [];
@@ -2092,8 +2094,11 @@
repeatWallpaper = this.checked;
if (repeatWallpaper) {
document.body.style.backgroundSize = "contain";
+ document.body.style.backgroundRepeat = "repeat";
+
} else {
document.body.style.backgroundSize = "cover";
+ document.body.style.backgroundRepeat = "no-repeat";
}
}