mirror of
https://github.com/cyclotruc/gitingest.git
synced 2026-04-28 14:09:46 +00:00
Fix loader not stopping
This commit is contained in:
parent
5937b584fb
commit
b7c435a0b4
1 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,8 @@ function handleSubmit(event, showLoading = false) {
|
|||
// Store the star count before updating the DOM
|
||||
const starCount = currentStars;
|
||||
|
||||
|
||||
// Replace the entire body content with the new HTML
|
||||
document.body.innerHTML = html;
|
||||
|
||||
// Wait for next tick to ensure DOM is updated
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue