mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 13:59:06 +02:00
$(document).ready instead of $(function() {}) for ender support
This commit is contained in:
4
js/bootstrap-alerts.js
vendored
4
js/bootstrap-alerts.js
vendored
@@ -25,7 +25,7 @@
|
||||
|
||||
var transitionEnd
|
||||
|
||||
$(function () {
|
||||
$(document).ready(function () {
|
||||
|
||||
$.support.transition = (function () {
|
||||
var thisBody = document.body || document.documentElement
|
||||
@@ -97,7 +97,7 @@
|
||||
})
|
||||
}
|
||||
|
||||
$(function () {
|
||||
$(document).ready(function () {
|
||||
new Alert($('body'), '.alert-message[data-alert] .close')
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user