diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2011-09-16 10:16:06 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2011-09-16 10:16:06 +0400 |
commit | d1b594db7a7307efd7de29a2875046166c69a76f (patch) | |
tree | 42499e622f9878a475bc5157870c52f044cfb2ab /js/bootstrap-modal.js | |
parent | 472632ba51a50457370c55267a736e3efc4c09cc (diff) |
$(document).ready instead of $(function() {}) for ender support
Diffstat (limited to 'js/bootstrap-modal.js')
-rw-r--r-- | js/bootstrap-modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) |