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

Merged
vlbeaudoin merged 1 commit from vlbeaudoin/feature/auto-reload-contenu into main 2025-02-17 18:13:16 -05:00 AGit

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();
} }