diff options
Diffstat (limited to 'demos/spinner')
-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({ |