From 5d1b4206b1ed88e40a1f3029dc9b5dccebe7a110 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 22 Nov 2012 12:06:36 -0800 Subject: Fixes #5986: single toggle button html examples --- docs/javascript.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index ef8d62a34..f07f28909 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>
 
-- cgit v1.2.3