From 9806f41a6a2e79d928df1cac3bcaccec9b958596 Mon Sep 17 00:00:00 2001 From: sancsin <75096844+sancsin@users.noreply.github.com> Date: Sat, 18 Jan 2025 12:04:50 +0100 Subject: [PATCH] Update resources/js/composables/photo/slideshow.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: BenoƮt Viguier --- resources/js/composables/photo/slideshow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/composables/photo/slideshow.ts b/resources/js/composables/photo/slideshow.ts index 8deb8a6b1c4..e9d36b88080 100644 --- a/resources/js/composables/photo/slideshow.ts +++ b/resources/js/composables/photo/slideshow.ts @@ -79,7 +79,7 @@ export function useSlideshowFunction( */ // - if (immediate && is_slideshow_active.value == true) { + if (immediate && is_slideshow_active.value === true) { clearTimeouts(); getNext(); window.setTimeout(() => next(), delay * 2 + 1000 * slide_show_interval.value); // Set timeout for next iteration.