mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03: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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user