aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner/default.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 22:01:44 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:56 -0400
commit89bf0d057bc9ec552b042a997501e094e95da543 (patch)
treebdb5023f4df056eddd43052b5224ebfedbfc47ac /demos/spinner/default.html
parentd157b59a511be306f32f8d5a84b575961013ebd0 (diff)
downloadjquery-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.html8
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 );
});