diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 22:01:44 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:56 -0400 |
commit | 89bf0d057bc9ec552b042a997501e094e95da543 (patch) | |
tree | bdb5023f4df056eddd43052b5224ebfedbfc47ac /demos/spinner/default.html | |
parent | d157b59a511be306f32f8d5a84b575961013ebd0 (diff) | |
download | jquery-ui-89bf0d057bc9ec552b042a997501e094e95da543.tar.gz jquery-ui-89bf0d057bc9ec552b042a997501e094e95da543.zip |
Spinner: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos/spinner/default.html')
-rw-r--r-- | demos/spinner/default.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/spinner/default.html b/demos/spinner/default.html index 9486422fc..328d4d13c 100644 --- a/demos/spinner/default.html +++ b/demos/spinner/default.html @@ -15,24 +15,24 @@ $(function() { var spinner = $( "#spinner" ).spinner(); - $( "#disable" ).click(function() { + $( "#disable" ).on( "click", function() { if ( spinner.spinner( "option", "disabled" ) ) { spinner.spinner( "enable" ); } else { spinner.spinner( "disable" ); } }); - $( "#destroy" ).click(function() { + $( "#destroy" ).on( "click", function() { if ( spinner.spinner( "instance" ) ) { spinner.spinner( "destroy" ); } else { spinner.spinner(); } }); - $( "#getvalue" ).click(function() { + $( "#getvalue" ).on( "click", function() { alert( spinner.spinner( "value" ) ); }); - $( "#setvalue" ).click(function() { + $( "#setvalue" ).on( "click", function() { spinner.spinner( "value", 5 ); }); |