From ab784438e5f27e71b8fba97b08f4b0111361a03a Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Sat, 30 Nov 2024 21:08:24 +0500 Subject: [PATCH] feat: different timings for ARTS and PHOTOS sections --- static/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/script.js b/static/script.js index e93c89d..1993b20 100644 --- a/static/script.js +++ b/static/script.js @@ -3,6 +3,7 @@ const SONG_CHANGE_DELAY = 180000; const SYMBOL_DELAY = 150; const IMAGE_CHANGE_DELAY = 6000; +const ARTS_CHANGE_DELAY = 6500; const IMAGE_ANIMATION_DELAY = 1000; const IMAGE_TRANSITION_DELAY = 1000; @@ -238,5 +239,5 @@ window.onload = () => { setPhotoSectionImagesMargin(); setInterval(changePhotoSectionImage, IMAGE_CHANGE_DELAY); setArtsSectionImagesMargin(); - setInterval(changeArtsSectionImage, IMAGE_CHANGE_DELAY); + setInterval(changeArtsSectionImage, ARTS_CHANGE_DELAY); };