[matrix] Update model styles

This commit is contained in:
Muhammad Hamza
2020-08-29 17:19:49 -07:00
committed by Rapptz
parent 94cc151ebf
commit 185796128b
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'
}
}