diff options
author | nkav <nakavthekar@gmail.com> | 2014-01-19 23:19:20 +0400 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2014-01-21 01:46:41 +0400 |
commit | 4380ca434885f33072885e639a2d29cc203771bd (patch) | |
tree | 3d9e868e6ec4a758e949193c640cdc21e4a3c6c5 /docs/javascript.html | |
parent | 4120aadd68ddd15d2b8f0cddc9c72118caec9923 (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.html | 2 |
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">×</a>{% endhighlight %} + {% highlight html %}<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>{% endhighlight %} <h3>Methods</h3> |