aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-11-16 12:07:33 -0500
committerScott González <scott.gonzalez@gmail.com>2011-11-16 12:07:46 -0500
commit924e80e576e098fd07899bc6e2d5929680d54446 (patch)
tree92b9a20255df56ad997e41ace4817705cc7d2324 /demos
parent97bc2d9de9875e222254cfa1cd3fa3bde605c2ed (diff)
downloadjquery-ui-924e80e576e098fd07899bc6e2d5929680d54446.tar.gz
jquery-ui-924e80e576e098fd07899bc6e2d5929680d54446.zip
Spinner: Handle changes to numberFormat and currency options.
Diffstat (limited to 'demos')
-rw-r--r--demos/spinner/currency.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/spinner/currency.html b/demos/spinner/currency.html
index 485ad9064..796b379a5 100644
--- a/demos/spinner/currency.html
+++ b/demos/spinner/currency.html
@@ -17,9 +17,7 @@
<script>
$(function() {
$( "#currency" ).change(function() {
- var current = $( "#spinner" ).spinner( "value" );
- Globalize.culture( $(this).val() );
- $( "#spinner" ).spinner( "value", current );
+ $( "#spinner" ).spinner( "option", "culture", $( this ).val() );
});
$( "#spinner" ).spinner({