From bea9933a8b97704c42b42f0b7a3d221ba751b909 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 7 Aug 2011 11:35:38 -0400 Subject: [PATCH] Spinner: Re-render value if numberFormat option changes. --- ui/jquery.ui.spinner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5