More small fixes to the refactoring

This commit is contained in:
Pieter Vander Vennet 2021-06-14 17:42:26 +02:00
parent 8ad9b816ac
commit eec762b71f
7 changed files with 21 additions and 13 deletions

View file

@ -43,7 +43,6 @@ export default abstract class BaseUIElement {
throw "SEVERE: could not attach UIElement to " + divId;
}
console.log("Attaching to ", element)
while (element.firstChild) {
//The list is LIVE so it will re-index each call
element.removeChild(element.firstChild);