Changed empty arrow function to empty function

This commit is contained in:
FlorianZahn
2021-10-04 20:24:52 +02:00
parent 3fc32a68c3
commit e5fe99c89b

View File

@@ -27,7 +27,7 @@ export class RectangleTooltip {
props.maxHeight ??= "100px"; props.maxHeight ??= "100px";
props.maxWidth ??= "300px"; props.maxWidth ??= "300px";
this.text = props.text; this.text = props.text;
props.buttonFunction ??= () => {}; props.buttonFunction ??= function () {};
this.container = document.createElement('div'); this.container = document.createElement('div');
props.htmlId ??= props.text; props.htmlId ??= props.text;