remove incorrect return value which causes unregistering of the callback
This commit is contained in:
parent
5509b56de8
commit
3780c5d380
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export class VariableUiElement extends BaseUIElement {
|
|||
}
|
||||
|
||||
if (contents === undefined) {
|
||||
return el;
|
||||
return
|
||||
}
|
||||
if (typeof contents === "string") {
|
||||
el.innerHTML = contents;
|
||||
|
|
Loading…
Reference in a new issue