diff --git a/docs/javascript.html b/docs/javascript.html index ef8d62a34a..f07f289099 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1137,7 +1137,7 @@ $('#my-alert').bind('closed', function () {
-
<button type="button" class="btn" data-toggle="button">Single Toggle</button>
+
<button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>

Checkbox

Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.

@@ -1150,9 +1150,9 @@ $('#my-alert').bind('closed', function () {
 <div class="btn-group" data-toggle="buttons-checkbox">
-  <button type="button" class="btn">Left</button>
-  <button type="button" class="btn">Middle</button>
-  <button type="button" class="btn">Right</button>
+  <button type="button" class="btn btn-primary">Left</button>
+  <button type="button" class="btn btn-primary">Middle</button>
+  <button type="button" class="btn btn-primary">Right</button>
 </div>
 
@@ -1167,9 +1167,9 @@ $('#my-alert').bind('closed', function () {
 <div class="btn-group" data-toggle="buttons-radio">
-  <button type="button" class="btn">Left</button>
-  <button type="button" class="btn">Middle</button>
-  <button type="button" class="btn">Right</button>
+  <button type="button" class="btn btn-primary">Left</button>
+  <button type="button" class="btn btn-primary">Middle</button>
+  <button type="button" class="btn btn-primary">Right</button>
 </div>
 
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 7b07d5759c..22aaafd933 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -1067,7 +1067,7 @@ $('#my-alert').bind('closed', function () {
{{! /example }} -
<button type="button" class="btn" data-toggle="button">Single Toggle</button>
+
<button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>

{{_i}}Checkbox{{/i}}

{{_i}}Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.{{/i}}

@@ -1080,9 +1080,9 @@ $('#my-alert').bind('closed', function () { {{! /example }}
 <div class="btn-group" data-toggle="buttons-checkbox">
-  <button type="button" class="btn">Left</button>
-  <button type="button" class="btn">Middle</button>
-  <button type="button" class="btn">Right</button>
+  <button type="button" class="btn btn-primary">Left</button>
+  <button type="button" class="btn btn-primary">Middle</button>
+  <button type="button" class="btn btn-primary">Right</button>
 </div>
 
@@ -1097,9 +1097,9 @@ $('#my-alert').bind('closed', function () { {{! /example }}
 <div class="btn-group" data-toggle="buttons-radio">
-  <button type="button" class="btn">Left</button>
-  <button type="button" class="btn">Middle</button>
-  <button type="button" class="btn">Right</button>
+  <button type="button" class="btn btn-primary">Left</button>
+  <button type="button" class="btn btn-primary">Middle</button>
+  <button type="button" class="btn btn-primary">Right</button>
 </div>