diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 22:02:32 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:57 -0400 |
commit | e543253468398ab0c3f3603d9523a4673f1491ea (patch) | |
tree | 8c93efcf3ee36e62186ec1bc43acf3ee99973c60 /demos/widget | |
parent | 24f1ce9ea046607ae9d0611aefbe5bbd636f8d32 (diff) | |
download | jquery-ui-e543253468398ab0c3f3603d9523a4673f1491ea.tar.gz jquery-ui-e543253468398ab0c3f3603d9523a4673f1491ea.zip |
Widget: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos/widget')
-rw-r--r-- | demos/widget/default.html | 4 |
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, |