1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-28 06:20:15 +02: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

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)