+cluster table clear before updating
This commit is contained in:
parent
2f36e1a4d3
commit
c113b9cda7
|
@ -13,6 +13,11 @@ function updateClusters(id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawClusterTable(){
|
function drawClusterTable(){
|
||||||
|
let table = document.getElementById("cluster_table");
|
||||||
|
while(table.hasChildNodes()){
|
||||||
|
table.removeChild(table.firstChild);
|
||||||
|
}
|
||||||
|
|
||||||
let row = $("<thead>");
|
let row = $("<thead>");
|
||||||
row.append("<tr>");
|
row.append("<tr>");
|
||||||
row.append("<td></td>");
|
row.append("<td></td>");
|
||||||
|
|
Loading…
Reference in New Issue