We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5937b58 commit b7c435aCopy full SHA for b7c435a
src/static/js/utils.js
@@ -83,7 +83,8 @@ function handleSubmit(event, showLoading = false) {
83
// Store the star count before updating the DOM
84
const starCount = currentStars;
85
86
-
+ // Replace the entire body content with the new HTML
87
+ document.body.innerHTML = html;
88
89
// Wait for next tick to ensure DOM is updated
90
setTimeout(() => {
0 commit comments