[matrix] Update model styles

This commit is contained in:
Muhammad Hamza
2020-08-29 17:19:49 -07:00
committed by GitHub
parent 575435b4c9
commit 597f7e30b8
2 changed files with 7 additions and 4 deletions

View File

@ -13,7 +13,7 @@ class Modal {
close() {
activeModal = null;
this.element.hidden = true;
this.element.style.display = 'none'
}
open() {
@ -21,7 +21,7 @@ class Modal {
activeModal.close();
}
activeModal = this;
this.element.hidden = false;
this.element.style.display = 'flex'
}
}