diff options
| author | Mark Otto <[email protected]> | 2018-12-15 15:13:22 -0800 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-12-16 01:33:05 +0200 |
| commit | ee72e7838df71e28825480e44b278453e092a64c (patch) | |
| tree | 9fb6ff638b1c86df8ef7125c0cb76215fdf9736e /js/dist/modal.js | |
| parent | ffd3402a923b19754b4735803f9f9580bc1c38a5 (diff) | |
| download | bootstrap-ee72e7838df71e28825480e44b278453e092a64c.tar.xz bootstrap-ee72e7838df71e28825480e44b278453e092a64c.zip | |
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 9667cda28..08891c3ae 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 () { |
