diff options
author | Mark Otto <markdotto@gmail.com> | 2018-12-16 02:13:22 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-12-16 02:33:05 +0300 |
commit | ee72e7838df71e28825480e44b278453e092a64c (patch) | |
tree | 9fb6ff638b1c86df8ef7125c0cb76215fdf9736e /js/dist/modal.js | |
parent | ffd3402a923b19754b4735803f9f9580bc1c38a5 (diff) |
dist
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 () { |