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
diff options
context:
space:
mode:
authornkav <nakavthekar@gmail.com>2014-01-19 23:19:20 +0400
committerChris Rebert <code@rebertia.com>2014-01-21 01:46:41 +0400
commit4380ca434885f33072885e639a2d29cc203771bd (patch)
tree3d9e868e6ec4a758e949193c640cdc21e4a3c6c5 /docs/javascript.html
parent4120aadd68ddd15d2b8f0cddc9c72118caec9923 (diff)
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 323f1f684c..bdb1021587 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>