From a9729c5fd003abbfa0d1ab5bc318a069fd5b1382 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 7 Feb 2013 19:38:46 -0800 Subject: fix js from @fat feedback for modal --- docs/assets/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/assets/js/bootstrap.js') 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') }) -- cgit v1.2.3