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()