diff options
| author | Mark Otto <[email protected]> | 2013-02-07 19:38:46 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-07 19:38:46 -0800 |
| commit | a9729c5fd003abbfa0d1ab5bc318a069fd5b1382 (patch) | |
| tree | 2933f645ef66004206f65ddc29b33740a7fbed90 /js | |
| parent | 52581839c732ef5b82b2fcb1a04e6e2a0dcbfcda (diff) | |
| download | bootstrap-a9729c5fd003abbfa0d1ab5bc318a069fd5b1382.tar.xz bootstrap-a9729c5fd003abbfa0d1ab5bc318a069fd5b1382.zip | |
fix js from @fat feedback for modal
Diffstat (limited to 'js')
| -rw-r--r-- | js/bootstrap-modal.js | 2 |
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') }) |
