From de7fd4c130d000c001a2c838de0bf873446145df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 10 Aug 2011 09:15:47 -0400 Subject: [PATCH] Spinner: Fixed integration with globalize. --- tests/unit/spinner/spinner.html | 2 +- ui/jquery.ui.spinner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/spinner/spinner.html b/tests/unit/spinner/spinner.html index 8afa5fab8..ddfb03d91 100644 --- a/tests/unit/spinner/spinner.html +++ b/tests/unit/spinner/spinner.html @@ -8,7 +8,7 @@ - + diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index 7c699ef75..9f4a6b921 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -371,7 +371,7 @@ $.widget( "ui.spinner", { value: function( newVal ) { if ( !arguments.length ) { - return this._format(); + return this.options.value; } this.option( "value", newVal ); }, -- 2.39.5