From 5dd669e716397530c10e5480073d4bca1c149abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Tue, 31 Jan 2023 03:43:41 +0100 Subject: [PATCH] web: clear attachement value --- public/partdb.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/partdb.js b/public/partdb.js index 4eb8c2c..7fdc3f4 100644 --- a/public/partdb.js +++ b/public/partdb.js @@ -76,6 +76,9 @@ function clear() const body = document.getElementById(table); body.innerHTML = null; } + // cleat attachment + const input = document.getElementById('attachment'); + input.value = ""; } function select_part()