aboutsummaryrefslogtreecommitdiff
path: root/js/alert.js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-05-16 17:18:15 -0700
committerfat <[email protected]>2013-05-16 17:18:15 -0700
commit149ecd21bf7c56df897088d09ca309eb43a7dd9d (patch)
tree9138ea6d99244c3abf114069482c8c397a0bc2cd /js/alert.js
parent53bc93282fbeab3c1b779f1914ab040290668369 (diff)
downloadbootstrap-149ecd21bf7c56df897088d09ca309eb43a7dd9d.tar.xz
bootstrap-149ecd21bf7c56df897088d09ca309eb43a7dd9d.zip
straight trash wang
Diffstat (limited to 'js/alert.js')
-rw-r--r--js/alert.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/alert.js b/js/alert.js
index 9df950245..b841b4f5a 100644
--- a/js/alert.js
+++ b/js/alert.js
@@ -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)