Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-01-21 01:50:36 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-01-21 01:50:36 +0400
commit3ed836b19888215fe5ad9539898502d203712021 (patch)
treec21a92b1eb877327c9a76a9a77456e28f1fe8719 /js
parent93c81522164421a03a9093502dae8125aa8b5584 (diff)
should check for alert class not alertmessage
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-alert.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/bootstrap-alert.js b/js/bootstrap-alert.js
index 96b9786aa7..d6d2108f9c 100644
--- a/js/bootstrap-alert.js
+++ b/js/bootstrap-alert.js
@@ -43,13 +43,12 @@
e && e.preventDefault()
- $parent.length || ($parent = $this.hasClass('alert-message') ? $this : $this.parent())
+ $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent())
$parent.removeClass('in')
function removeElement() {
$parent.remove()
-
$parent.trigger('closed')
}