From c18282396c89c670767aa350160683ef8894192f Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Sat, 27 Sep 2025 02:34:28 +0200 Subject: [PATCH] fix typo --- script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index 84b2ae9..23f455f 100644 --- a/script.js +++ b/script.js @@ -890,14 +890,14 @@ const checkNavigation = () => { const isHomePage = url => url.includes('/home') || url.endsWith('/web/') || url.endsWith('/web/index.html'); if (!isHomePage(newLocation) && isHomePageActive) { - console.log("Leaving homepage, cleaning up slideshow and stopping video"); + console.log("Leaving home page, cleaning up slideshow and stopping video"); isHomePageActive = false; stopBackgroundVideo(); cleanup(); } if (isHomePage(newLocation) && !isHomePageActive) { - console.log("Returning to homepage, reactivating slideshow"); + console.log("Returning to home page, reactivating slideshow"); isHomePageActive = true; fetchRandomMovie(); } @@ -944,7 +944,7 @@ document.addEventListener('DOMContentLoaded', () => { const isHomePage = url => url.includes('/home') || url.endsWith('/web/') || url.endsWith('/web/index.html'); if (isHomePage(window.top.location.href)) { isHomePageActive = true; - console.log("Homepage detected, starting slideshow"); + console.log("Home page detected, starting slideshow"); readCustomList().then(list => { if (list) { movieList = list; currentMovieIndex = 0; } fetchRandomMovie();