aboutsummaryrefslogtreecommitdiffstats
path: root/demos/widget/default.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/widget/default.html')
-rw-r--r--demos/widget/default.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/widget/default.html b/demos/widget/default.html
index 885960abf..62a373114 100644
--- a/demos/widget/default.html
+++ b/demos/widget/default.html
@@ -139,7 +139,7 @@
});
// click to toggle enabled/disabled
- $( "#disable" ).click(function() {
+ $( "#disable" ).on( "click", function() {
// use the custom selector created for each widget to find all instances
// all instances are toggled together, so we can check the state from the first
if ( $( ":custom-colorize" ).colorize( "option", "disabled" ) ) {
@@ -150,7 +150,7 @@
});
// click to set options after initialization
- $( "#green" ).click( function() {
+ $( "#green" ).on( "click", function() {
$( ":custom-colorize" ).colorize( "option", {
red: 64,
green: 250,