From d1b594db7a7307efd7de29a2875046166c69a76f Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Thu, 15 Sep 2011 23:16:06 -0700 Subject: $(document).ready instead of $(function() {}) for ender support --- js/bootstrap-modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/bootstrap-modal.js') diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index f4d5977c85..41a7a4115c 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -25,7 +25,7 @@ var transitionEnd - $(function () { + $(document).ready(function () { $.support.transition = (function () { var thisBody = document.body || document.documentElement @@ -216,7 +216,7 @@ /* MODAL DATA- IMPLEMENTATION * ========================== */ - $(function () { + $(document).ready(function () { $('body').delegate('[data-controls-modal]', 'click', function (e) { e.preventDefault() var $this = $(this).data('show', true) -- cgit v1.2.3