1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 12:59:05 +02:00

straight trash wang

This commit is contained in:
fat
2013-05-16 17:18:15 -07:00
parent 53bc93282f
commit 149ecd21bf
10 changed files with 731 additions and 775 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)