aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.spinner.js2
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();