aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2015-08-12 21:12:03 -0700
committerJacob Thornton <[email protected]>2015-08-12 21:12:03 -0700
commit11abb0f7e94771bcf604c72b34f6688e6aa3a290 (patch)
tree35266bd178dc46aa2371b41d88e4c5b142749651 /js/src
parent9bdb6d13f606ec18d808a30e5ebc28ec3eb82a4b (diff)
downloadbootstrap-11abb0f7e94771bcf604c72b34f6688e6aa3a290.tar.xz
bootstrap-11abb0f7e94771bcf604c72b34f6688e6aa3a290.zip
fix modal
Diffstat (limited to 'js/src')
-rw-r--r--js/src/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/modal.js b/js/src/modal.js
index 2ca603b23..287acb12d 100644
--- a/js/src/modal.js
+++ b/js/src/modal.js
@@ -313,7 +313,7 @@ const Modal = (($) => {
$(this._backdrop).addClass(animate)
}
- $(this._backdrop).appendTo(this.$body)
+ $(this._backdrop).appendTo(document.body)
$(this._element).on(Event.CLICK_DISMISS, (event) => {
if (this._ignoreBackdropClick) {