mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03: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:
+1
-1
@@ -1358,7 +1358,7 @@ $('#my-alert').bind('closed.bs.alert', function () {
|
||||
<h2 id="buttons-usage">Usage</h2>
|
||||
<p>Enable buttons via JavaScript:</p>
|
||||
{% highlight js %}
|
||||
$('.nav-tabs').button()
|
||||
$('.btn-group').button()
|
||||
{% endhighlight %}
|
||||
|
||||
<h3>Markup</h3>
|
||||
|
||||
Reference in New Issue
Block a user