diff options
| author | Muhammad Hamza <[email protected]> | 2020-08-29 17:19:49 -0700 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:57 -0500 |
| commit | 185796128b12b1a910c0db828205f2d303b7023d (patch) | |
| tree | 53d784dc92145357149291fb9c5500efed286d5b /docs/_static/custom.js | |
| parent | Fix tooltips in settings and make strings translatable (diff) | |
| download | discord.py-185796128b12b1a910c0db828205f2d303b7023d.tar.xz discord.py-185796128b12b1a910c0db828205f2d303b7023d.zip | |
[matrix] Update model styles
Diffstat (limited to 'docs/_static/custom.js')
| -rw-r--r-- | docs/_static/custom.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_static/custom.js b/docs/_static/custom.js index 6e5c4ff5..95d1539b 100644 --- a/docs/_static/custom.js +++ b/docs/_static/custom.js @@ -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' } } |