I should seriously look at what I'm commiting before I commit it.... >_< dw I won't do this in professional context
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m26s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m26s
This commit is contained in:
@@ -17,7 +17,7 @@ const currentUrl = computed(() => images[currentIndex.value].url);
|
|||||||
|
|
||||||
let nextId;
|
let nextId;
|
||||||
|
|
||||||
function nextRandomImage() {
|
function nextImage() {
|
||||||
clearTimeout(nextId);
|
clearTimeout(nextId);
|
||||||
currentIndex.value = (currentIndex.value + 1) % images.length;
|
currentIndex.value = (currentIndex.value + 1) % images.length;
|
||||||
nextId = setTimeout(nextImage, 10000);
|
nextId = setTimeout(nextImage, 10000);
|
||||||
|
|||||||
Reference in New Issue
Block a user