diff options
| author | nkav <[email protected]> | 2014-01-19 14:19:20 -0500 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-01-20 13:46:41 -0800 |
| commit | 4380ca434885f33072885e639a2d29cc203771bd (patch) | |
| tree | 3d9e868e6ec4a758e949193c640cdc21e4a3c6c5 /docs/javascript.html | |
| parent | 4120aadd68ddd15d2b8f0cddc9c72118caec9923 (diff) | |
| download | bootstrap-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.html | 2 |
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">×</a>{% endhighlight %} + {% highlight html %}<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>{% endhighlight %} <h3>Methods</h3> |
