Skip to content

Commit bea9933

Browse files
committed
Spinner: Re-render value if numberFormat option changes.
1 parent 7173565 commit bea9933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.spinner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ $.widget( "ui.spinner", {
292292

293293
_setOptions: function( options ) {
294294
this._super( "_setOptions", options );
295-
if ( "value" in options ) {
295+
if ( "value" in options || "numberFormat" in options ) {
296296
this._format( this.options.value );
297297
}
298298
this._aria();

0 commit comments

Comments
 (0)