diff options
| author | Johann-S <[email protected]> | 2019-02-20 10:45:46 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-02-20 22:05:45 +0200 |
| commit | fee11fd7ae278baed6ca09caf7d5a83c40d1c23a (patch) | |
| tree | 8efdd5d0376f9b1dbc404e33e1dfdee6e496b537 /js/src/modal.js | |
| parent | 58773061048ab05f87b67cd47f10d9bf8c3f25aa (diff) | |
| download | bootstrap-fee11fd7ae278baed6ca09caf7d5a83c40d1c23a.tar.xz bootstrap-fee11fd7ae278baed6ca09caf7d5a83c40d1c23a.zip | |
use our selector engine instead of native api
Diffstat (limited to 'js/src/modal.js')
| -rw-r--r-- | js/src/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/modal.js b/js/src/modal.js index 69b77009d..0897b317a 100644 --- a/js/src/modal.js +++ b/js/src/modal.js @@ -246,7 +246,7 @@ class Modal { this._element.setAttribute('aria-modal', true) if (this._dialog.classList.contains(ClassName.SCROLLABLE)) { - this._dialog.querySelector(Selector.MODAL_BODY).scrollTop = 0 + SelectorEngine.findOne(Selector.MODAL_BODY, this._dialog).scrollTop = 0 } else { this._element.scrollTop = 0 } |
