diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-11-16 12:07:33 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-11-16 12:07:46 -0500 |
commit | 924e80e576e098fd07899bc6e2d5929680d54446 (patch) | |
tree | 92b9a20255df56ad997e41ace4817705cc7d2324 /demos | |
parent | 97bc2d9de9875e222254cfa1cd3fa3bde605c2ed (diff) | |
download | jquery-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.html | 4 |
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({ |