feature(ui): Reload contenu après dernière image

This commit is contained in:
Victor Lacasse-Beaudoin 2025-02-17 18:10:56 -05:00
parent da267669eb
commit bfddebed0e

View file

@ -10,15 +10,14 @@ function afficherImage() {
} }
function augmenterIndex() { function augmenterIndex() {
if (indexImages >= images.length - 1) {
indexImages = 0;
} else {
indexImages ++; indexImages ++;
}
} }
function executionLoop(){ function executionLoop(){
//afficherIndex(); if (indexImages >= images.length) {
location.reload();
}
afficherImage(); afficherImage();
augmenterIndex(); augmenterIndex();
} }