aboutsummaryrefslogtreecommitdiff
path: root/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 /js
parent52581839c732ef5b82b2fcb1a04e6e2a0dcbfcda (diff)
downloadbootstrap-a9729c5fd003abbfa0d1ab5bc318a069fd5b1382.tar.xz
bootstrap-a9729c5fd003abbfa0d1ab5bc318a069fd5b1382.zip
fix js from @fat feedback for modal
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js
index ed2f1f894..67c4fade9 100644
--- a/js/bootstrap-modal.js
+++ b/js/bootstrap-modal.js
@@ -241,7 +241,7 @@
})
})
- var $body = $('body')
+ var $body = $(document.body)
.on('shown', '.modal', function () { $body.addClass('modal-open') })
.on('hidden', '.modal', function () { $body.removeClass('modal-open') })