aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner
diff options
context:
space:
mode:
Diffstat (limited to 'demos/spinner')
-rw-r--r--demos/spinner/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/spinner/default.html b/demos/spinner/default.html
index 5093e8666..3d3288807 100644
--- a/demos/spinner/default.html
+++ b/demos/spinner/default.html
@@ -23,7 +23,7 @@
}
});
$( "#destroy" ).click(function() {
- if ( spinner.data( "ui-spinner" ) ) {
+ if ( spinner.spinner( "instance" ) ) {
spinner.spinner( "destroy" );
} else {
spinner.spinner();