From d85e82decc1bf0b2d5176ae37224bdbe9cb41750 Mon Sep 17 00:00:00 2001 From: Peter Edmond Date: Fri, 13 Jun 2025 17:57:26 +0100 Subject: [PATCH] Clear comments before re-adding - probably ought to think of a better way to do this? --- fillcomments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fillcomments.js b/fillcomments.js index a97587b..e9378a8 100644 --- a/fillcomments.js +++ b/fillcomments.js @@ -36,6 +36,7 @@ function doComments(id,qid) { const div = document.getElementById(id); console.log(div); + div.innerHTML = ""; // Create a new