]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner demo: Fixed time demo.
authorScott González <scott.gonzalez@gmail.com>
Wed, 10 Aug 2011 13:19:40 +0000 (09:19 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 10 Aug 2011 13:19:40 +0000 (09:19 -0400)
demos/spinner/time.html

index 860ae3f482db8dca92a787b00d34adc5a5b997b3..7fc1e26ce3032ff7cc7b17514a32444c0359aa40 100644 (file)
@@ -30,7 +30,7 @@
                },
 
                _format: function() {
-                       this.element.val( Globalize.format( new Date(this.options.value), "t" ) );
+                       return Globalize.format( new Date(this.options.value), "t" );
                }
        });