]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
correct enable selector for button usage 10131/head
authorAndreas Jendrzey <andy@jendrzey.de>
Sun, 25 Aug 2013 08:36:53 +0000 (10:36 +0200)
committerAndreas Jendrzey <andy@jendrzey.de>
Sun, 25 Aug 2013 08:36:53 +0000 (10:36 +0200)
following the given examples the correct selector to enable the buttons with javascript is ".btn-group".

javascript.html

index 6a0807952e5b6306a6dad0adb2c6c0c802e710c6..ee3b4d7b03ddd88178765637395b6b8a45562cf0 100644 (file)
@@ -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>