mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Corrected tag for Alert JS animation example from <a> to <button>
Also removed href attribute and added type="button"
This commit is contained in:
parent
4120aadd68
commit
4380ca4348
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user