remove incorrect return value which causes unregistering of the callback

This commit is contained in:
Pieter Vander Vennet 2021-09-23 20:45:57 +02:00 committed by GitHub
parent 5509b56de8
commit 3780c5d380
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ export class VariableUiElement extends BaseUIElement {
}
if (contents === undefined) {
return el;
return
}
if (typeof contents === "string") {
el.innerHTML = contents;