diff options
| author | Jacob Thornton <[email protected]> | 2013-07-23 17:32:20 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2013-07-23 17:32:20 -0700 |
| commit | 43e5e90a6d871dbbca2ac68429324719692777d3 (patch) | |
| tree | 9292b7ce3c0f32c54c3ce7a9192c4e1297550963 /js | |
| parent | 7b12a0dcbc9adb2835391713f1947e9213f4bbaa (diff) | |
| download | bootstrap-43e5e90a6d871dbbca2ac68429324719692777d3.tar.xz bootstrap-43e5e90a6d871dbbca2ac68429324719692777d3.zip | |
shown.bs.modal fix
Diffstat (limited to 'js')
| -rw-r--r-- | js/modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/modal.js b/js/modal.js index 88bc1cb80..50ebd7b56 100644 --- a/js/modal.js +++ b/js/modal.js @@ -238,7 +238,7 @@ }) var $body = $(document.body) - .on('bs.modal.shown', '.modal', function () { $body.addClass('modal-open') }) - .on('bs.modal.hidden', '.modal', function () { $body.removeClass('modal-open') }) + .on('shown.bs.modal', '.modal', function () { $body.addClass('modal-open') }) + .on('hidden.bs.modal', '.modal', function () { $body.removeClass('modal-open') }) }(window.jQuery); |
