2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

don't wait for ready when binding events to document

This commit is contained in:
Carl Porth
2012-09-27 15:00:02 -07:00
parent 474471b831
commit e1f6458e36
8 changed files with 43 additions and 60 deletions
+1 -3
View File
@@ -83,8 +83,6 @@
/* ALERT DATA-API
* ============== */
$(function () {
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
})
$(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
}(window.jQuery);