aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner/default.html
diff options
context:
space:
mode:
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 );
});