Skip to content

Commit 1c284c1

Browse files
committed
Merge pull request jquery-archive#3349 from agcolom/patch-51
Update docs/forms/switch/options.html
2 parents cd618a2 + 029ebc2 commit 1c284c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/forms/switch/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2>Flip toggle switch</h2>
6565
<dd>
6666
<p class="default">default: null, inherited from parent</p>
6767
<p>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.</p>
68-
<pre><code>$('.selector').slider(<strong>{ theme: "a" }</strong>);</code></pre>
68+
<pre><code>$('.selector').slider(<strong>{ trackTheme: "a" }</strong>);</code></pre>
6969
<p>This option can be overridden in the markup by assigning a data attribute to the input, e.g. <code>data-track-theme=&quot;a&quot;</code>.</p>
7070
</dd>
7171

0 commit comments

Comments
 (0)