mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-01 03:10:14 +02:00
correct enable selector for button usage
following the given examples the correct selector to enable the buttons with javascript is ".btn-group".
This commit is contained in:
@@ -1358,7 +1358,7 @@ $('#my-alert').bind('closed.bs.alert', function () {
|
|||||||
<h2 id="buttons-usage">Usage</h2>
|
<h2 id="buttons-usage">Usage</h2>
|
||||||
<p>Enable buttons via JavaScript:</p>
|
<p>Enable buttons via JavaScript:</p>
|
||||||
{% highlight js %}
|
{% highlight js %}
|
||||||
$('.nav-tabs').button()
|
$('.btn-group').button()
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3>Markup</h3>
|
<h3>Markup</h3>
|
||||||
|
Reference in New Issue
Block a user