add "noImplicitThis":true
This commit is contained in:
parent
ec2fc491d9
commit
ce3ea3a271
17 changed files with 58 additions and 59 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue