aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-08-17 15:44:25 -0700
committerChris Rebert <[email protected]>2014-08-17 15:44:25 -0700
commite7d5905f38f5bd4c10425733e7b78941550a9cf2 (patch)
tree6dd60c0ecb2f514d711e43ed4dd487251ce13b92 /docs/dist/js/bootstrap.js
parent71c2c372f6a14eae4bf7ae51958f770583bc2ccc (diff)
downloadbootstrap-e7d5905f38f5bd4c10425733e7b78941550a9cf2.tar.xz
bootstrap-e7d5905f38f5bd4c10425733e7b78941550a9cf2.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index ed6a5d2af..003023142 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -104,7 +104,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
if (e) e.preventDefault()
if (!$parent.length) {
- $parent = $this.hasClass('alert') ? $this : $this.parent()
+ $parent = $this.closest('.alert')
}
$parent.trigger(e = $.Event('close.bs.alert'))