Skip to content

Commit e3286d5

Browse files
committed
fixed progress bar
1 parent 1ecedf1 commit e3286d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

static/assets/scripts/home.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ try {
916916
// Progress bar (initially empty)
917917
const progressBar = document.createElement('div');
918918
progressBar.style.cssText = `
919-
width: 1%;
919+
width: 0%;
920920
height: 100%;
921921
background-color: #29abe0;
922922
border-radius: 8px;
@@ -1248,7 +1248,7 @@ try {
12481248
// Show some initial progress in the bar (optional, you can remove this or customize)
12491249
setTimeout(() => {
12501250
// You could replace this with actual progress data if you have it
1251-
progressBar.style.width = '0%';
1251+
progressBar.style.width = '1%';
12521252
}, 500);
12531253

12541254
// Return an object with methods to control the modal

0 commit comments

Comments
 (0)