Skip to content

Commit b7c435a

Browse files
committed
Fix loader not stopping
1 parent 5937b58 commit b7c435a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/static/js/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ function handleSubmit(event, showLoading = false) {
8383
// Store the star count before updating the DOM
8484
const starCount = currentStars;
8585

86-
86+
// Replace the entire body content with the new HTML
87+
document.body.innerHTML = html;
8788

8889
// Wait for next tick to ensure DOM is updated
8990
setTimeout(() => {

0 commit comments

Comments
 (0)