aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authornkav <[email protected]>2014-01-19 14:19:20 -0500
committerChris Rebert <[email protected]>2014-01-20 13:46:41 -0800
commit4380ca434885f33072885e639a2d29cc203771bd (patch)
tree3d9e868e6ec4a758e949193c640cdc21e4a3c6c5 /docs/javascript.html
parent4120aadd68ddd15d2b8f0cddc9c72118caec9923 (diff)
downloadbootstrap-4380ca434885f33072885e639a2d29cc203771bd.tar.xz
bootstrap-4380ca434885f33072885e639a2d29cc203771bd.zip
Corrected tag for Alert JS animation example from <a> to <button>
Also removed href attribute and added type="button"
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 323f1f684..bdb102158 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1366,7 +1366,7 @@ $('#myPopover').on('hidden.bs.popover', function () {
<h3>Markup</h3>
<p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p>
- {% highlight html %}<a class="close" data-dismiss="alert" href="#" aria-hidden="true">&times;</a>{% endhighlight %}
+ {% highlight html %}<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>{% endhighlight %}
<h3>Methods</h3>