diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-08-07 11:35:38 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-08-07 11:35:38 -0400 |
commit | bea9933a8b97704c42b42f0b7a3d221ba751b909 (patch) | |
tree | 13aff9823e133ed481d20c75fbc121ea3be37209 | |
parent | 71735652f5c92a2aeda02732c42b71fe0253f5fd (diff) | |
download | jquery-ui-bea9933a8b97704c42b42f0b7a3d221ba751b909.tar.gz jquery-ui-bea9933a8b97704c42b42f0b7a3d221ba751b909.zip |
Spinner: Re-render value if numberFormat option changes.
-rw-r--r-- | ui/jquery.ui.spinner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index 138d32f0a..0a5e92e12 100644 --- a/ui/jquery.ui.spinner.js +++ b/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(); |