cleanup helper dom elements before rendering

This commit is contained in:
will cohen
2020-06-17 17:54:01 -04:00
parent e4b63a68fd
commit d3d15b79fb
3 changed files with 39 additions and 1 deletions

View File

@@ -728,7 +728,7 @@ const render = function(id, _txt, cb, container) {
}
const element = document.querySelector('#' + 'd' + id);
if (element) {
element.innerHTML = '';
element.remove();
}
select('body')