Cleanup AbstractViewPopup handling

This commit is contained in:
the-djmaze 2023-02-12 00:27:11 +01:00
parent 163e926d6b
commit 98d686bc14
2 changed files with 4 additions and 13 deletions

View file

@ -78,9 +78,10 @@ export class AbstractViewPopup extends AbstractView
afterShow() {} // Happens after showModal() animation transitionend
onHide() {} // Happens before animation transitionend
afterHide() {} // Happens after animation transitionend
close() {}
*/
close() {
this.modalVisible(false);
}
}
AbstractViewPopup.showModal = function(params = []) {