mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-28 20:07:04 +02:00
[chore] TSLint cleanup
This commit is contained in:
@@ -16,11 +16,11 @@ export function removeElement(elem: Element | null) {
|
||||
return;
|
||||
}
|
||||
|
||||
while (elem.firstChild) {
|
||||
while (elem.firstChild !== null) {
|
||||
elem.removeChild(elem.firstChild);
|
||||
}
|
||||
|
||||
if (elem.parentNode) {
|
||||
if (elem.parentNode !== null) {
|
||||
elem.parentNode.removeChild(elem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user