From 029ebc2cb77d056d465b8265cedc94e671c45cc8 Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Wed, 28 Dec 2011 21:16:43 +0000 Subject: [PATCH] Update docs/forms/switch/options.html --- docs/forms/switch/options.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/forms/switch/options.html b/docs/forms/switch/options.html index c64b6d44d26..90ef3ce7811 100644 --- a/docs/forms/switch/options.html +++ b/docs/forms/switch/options.html @@ -65,7 +65,7 @@

Flip toggle switch

default: null, inherited from parent

Sets the color scheme (swatch) for the slider's track, specifically. It accepts a single letter from a-z that maps to the swatches included in your theme.

-
$('.selector').slider({ theme: "a" });
+
$('.selector').slider({ trackTheme: "a" });

This option can be overridden in the markup by assigning a data attribute to the input, e.g. data-track-theme="a".