diff options
-rw-r--r-- | tests/unit/spinner/spinner.html | 2 | ||||
-rw-r--r-- | 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 @@ <script src="../../jquery.js"></script> <script src="../../../external/jquery.mousewheel-3.0.4.js"></script> - <script src="../../../external/jquery.global.js"></script> + <script src="../../../external/globalize.js"></script> <script src="../../../ui/jquery.ui.core.js"></script> <script src="../../../ui/jquery.ui.widget.js"></script> <script src="../../../ui/jquery.ui.button.js"></script> 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 ); }, |