Skip to content

Commit

Permalink
fix inputs not clearing correctly after load
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerile3 committed Sep 12, 2024
1 parent cab7e0e commit 87c369f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,8 @@ document.addEventListener("keydown", (event) => {
});

window.addEventListener("load", () => {
inputs.forEach(input => {
input.value = "";
});
loadcomplete(false)
});

0 comments on commit 87c369f

Please sign in to comment.