update backgrounds

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-11-01 15:36:10 -04:00
parent ad87d1eb07
commit 26b815941a
11 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ const appStartTime = performance.now();
async function preloadImages() {
const dark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
const imagePromises = [];
const num = Math.floor(10 * Math.random());
const num = Math.floor(9.99 * Math.random());
const imageUrls = [
`file=html/logo-bg-${dark ? 'dark' : 'light'}.jpg`,
`file=html/logo-bg-${num}.jpg`,