]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget demo: Replace 'go black' with 'go screen' to keep text readable
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 24 Apr 2014 12:04:03 +0000 (14:04 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 24 Apr 2014 12:04:03 +0000 (14:04 +0200)
demos/widget/default.html

index 26a6cc3e402c79fcab20035dc5bcbbb2404b3ecc..77ec62e5289fab326e2980c8f6232d6d49cf63c1 100644 (file)
                });
 
                // click to set options after initialization
-               $( "#black" ).click( function() {
+               $( "#green" ).click( function() {
                        $( ":custom-colorize" ).colorize( "option", {
-                               red: 0,
-                               green: 0,
-                               blue: 0
+                               red: 64,
+                               green: 250,
+                               blue: 8
                        });
                });
        });
        <div id="my-widget2">color me</div>
        <div id="my-widget3">color me</div>
        <button id="disable">Toggle disabled option</button>
-       <button id="black">Go black</button>
+       <button id="green">Go green</button>
 </div>
 
 <div class="demo-description">