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

fix tests

This commit is contained in:
fat
2013-05-16 17:44:50 -07:00
parent 19de2e8603
commit a72d0d6e3a
23 changed files with 1534 additions and 1616 deletions
+4 -4
View File
@@ -45,7 +45,7 @@
$parent = $this.hasClass('alert') ? $this : $this.parent()
}
$parent.trigger(e = $.Event('bs-close'))
$parent.trigger(e = $.Event('bs:alert:close'))
if (e.isDefaultPrevented()) return
@@ -79,8 +79,8 @@
$.fn.alert.Constructor = Alert
/* ALERT NO CONFLICT
* ================= */
// ALERT NO CONFLICT
// =================
$.fn.alert.noConflict = function () {
$.fn.alert = old
@@ -89,7 +89,7 @@
// ALERT DATA-API
// ============== */
// ==============
$(document).on('click.bs-alert.bs-data-api', dismiss, Alert.prototype.close)