aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-08-17 13:14:19 -0700
committerfat <[email protected]>2013-08-17 13:14:19 -0700
commit5e89f71ab26147879812e3491eeacd4b15a5c152 (patch)
tree5a92937f1c15ee7bd260ada71021cd80defeb6c4 /js
parentab700d753c5dd77d278c7ee284b5d4c8250543c2 (diff)
downloadbootstrap-5e89f71ab26147879812e3491eeacd4b15a5c152.tar.xz
bootstrap-5e89f71ab26147879812e3491eeacd4b15a5c152.zip
fix for #8768
Diffstat (limited to 'js')
-rw-r--r--js/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/modal.js b/js/modal.js
index e0f8b7a0e..1a692e6af 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -238,7 +238,7 @@
})
$(document)
- .on('shown.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
+ .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
.on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
}(window.jQuery);