diff options
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r-- | js/dist/modal.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/dist/modal.js b/js/dist/modal.js index 9667cda28a..08891c3aec 100644 --- a/js/dist/modal.js +++ b/js/dist/modal.js @@ -285,6 +285,8 @@ this._element.removeAttribute('aria-hidden'); + this._element.setAttribute('aria-modal', true); + this._element.scrollTop = 0; if (transition) { @@ -364,6 +366,8 @@ this._element.setAttribute('aria-hidden', true); + this._element.removeAttribute('aria-modal'); + this._isTransitioning = false; this._showBackdrop(function () { |