Skip to content
Permalink
Browse files

Spinner: Re-render value if numberFormat option changes.

  • Loading branch information
scottgonzalez committed Aug 7, 2011
1 parent 7173565 commit bea9933a8b97704c42b42f0b7a3d221ba751b909
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.spinner.js
@@ -292,7 +292,7 @@ $.widget( "ui.spinner", {

_setOptions: function( options ) {
this._super( "_setOptions", options );
if ( "value" in options ) {
if ( "value" in options || "numberFormat" in options ) {
this._format( this.options.value );
}
this._aria();

0 comments on commit bea9933

Please sign in to comment.
You can’t perform that action at this time.