add "noImplicitThis":true

This commit is contained in:
MathMan05 2024-08-19 12:19:42 -05:00
parent ec2fc491d9
commit ce3ea3a271
17 changed files with 58 additions and 59 deletions

View file

@ -238,7 +238,7 @@ class Dialog {
this.background.classList.add("background");
document.body.appendChild(this.background);
document.body.appendChild(this.html);
this.background.onclick = function () { this.hide(); }.bind(this);
this.background.onclick = _ => { this.hide(); };
}
hide() {
document.body.removeChild(this.background);