2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

$(document).ready instead of $(function() {}) for ender support

This commit is contained in:
Jacob Thornton
2011-09-15 23:16:06 -07:00
parent 472632ba51
commit d1b594db7a
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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)