Skip to content

Commit

Permalink
Update resources/js/composables/photo/slideshow.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Benoît Viguier <[email protected]>
  • Loading branch information
sancsin and ildyria authored Jan 18, 2025
1 parent b9630ce commit 9806f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/composables/photo/slideshow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9806f41

Please sign in to comment.