From 6f9989393fa527b555d2a74681b9242d57e472de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Fri, 27 Jan 2023 02:04:22 +0100 Subject: [PATCH] web: improve clearing --- public/partdb.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/partdb.js b/public/partdb.js index bb96cad..5b92a5b 100644 --- a/public/partdb.js +++ b/public/partdb.js @@ -66,6 +66,9 @@ function clear() // clear properties const properties = document.getElementById('properties'); properties.innerHTML = null; + // clear attachments + const attachments = document.getElementById('attachments'); + attachments.innerHTML = null; } function select()