Skip to content

Commit

Permalink
Update cargalogin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fl2on authored Jul 10, 2024
1 parent d7ebfbb commit 84d840b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/cargalogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ function loadBar(){
if (width >= 100) {
clearInterval(interval);
message.textContent = '¡Carga Completa!';
// Redirigir a otra página después de la carga completa
setTimeout(() => {
window.location.href = 'INICIODEX.html';
}, 1000);
} else {
width++;
loadingBar.style.width = width + '%';
}
}, 3);
}, 35);
}

0 comments on commit 84d840b

Please sign in to comment.