From 87c369f7e50b061334b6cd75d38764daea9e59b9 Mon Sep 17 00:00:00 2001 From: Berkay Girgin <28847330+Gerile3@users.noreply.github.com> Date: Thu, 12 Sep 2024 11:18:45 +0300 Subject: [PATCH] fix inputs not clearing correctly after load --- script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script.js b/script.js index 00cc54f..a7f3b00 100644 --- a/script.js +++ b/script.js @@ -267,5 +267,8 @@ document.addEventListener("keydown", (event) => { }); window.addEventListener("load", () => { + inputs.forEach(input => { + input.value = ""; + }); loadcomplete(false) }); \ No newline at end of file