aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-07 19:38:46 -0800
committerMark Otto <[email protected]>2013-02-07 19:38:46 -0800
commita9729c5fd003abbfa0d1ab5bc318a069fd5b1382 (patch)
tree2933f645ef66004206f65ddc29b33740a7fbed90 /docs/assets/js/bootstrap.js
parent52581839c732ef5b82b2fcb1a04e6e2a0dcbfcda (diff)
downloadbootstrap-a9729c5fd003abbfa0d1ab5bc318a069fd5b1382.tar.xz
bootstrap-a9729c5fd003abbfa0d1ab5bc318a069fd5b1382.zip
fix js from @fat feedback for modal
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r--docs/assets/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js
index a8c8018a6..85835c393 100644
--- a/docs/assets/js/bootstrap.js
+++ b/docs/assets/js/bootstrap.js
@@ -1039,7 +1039,7 @@
})
})
- var $body = $('body')
+ var $body = $(document.body)
.on('shown', '.modal', function () { $body.addClass('modal-open') })
.on('hidden', '.modal', function () { $body.removeClass('modal-open') })