From: Jacob Thornton Date: Wed, 24 Jul 2013 00:32:20 +0000 (-0700) Subject: shown.bs.modal fix X-Git-Tag: v3.0.0-rc1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e5e90a6d871dbbca2ac68429324719692777d3;p=thirdparty%2Fbootstrap.git shown.bs.modal fix --- diff --git a/js/modal.js b/js/modal.js index 88bc1cb804..50ebd7b56e 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);