From e543253468398ab0c3f3603d9523a4673f1491ea Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 13 May 2015 22:02:32 -0400 Subject: Widget: Remove core event/alias and deprecated module dependencies --- demos/widget/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/widget/default.html') 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, -- cgit v1.2.3