update todo

This commit is contained in:
Vladimir Mandic
2023-07-20 15:28:09 -04:00
parent 561b5cb9cf
commit db1976b3cf
12 changed files with 51 additions and 32 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
async function preloadImages() {
const dark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
const imagePromises = [];
const num = Math.floor(Math.random() * 7) + 1;
const num = Math.floor(Math.random() * 9) + 1;
const imageUrls = [
`file=html/logo-bg-${dark ? 'dark' : 'light'}.jpg`,
`file=html/logo-bg-${num}.jpg`,