Clear comments before re-adding - probably ought to think of a better way to do this?
This commit is contained in:
parent
0b47c2b3e4
commit
d85e82decc
@ -36,6 +36,7 @@ function doComments(id,qid) {
|
||||
|
||||
const div = document.getElementById(id);
|
||||
console.log(div);
|
||||
div.innerHTML = "";
|
||||
// Create a new <ul> element
|
||||
const ul = document.createElement("ul");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user