Datepicker: Remove whitespace

Ref gh-1432
This commit is contained in:
Felix Nagel 2015-01-20 17:51:06 +01:00 committed by Scott González
parent 876aed3cd5
commit a5734cdd4d

View File

@ -255,7 +255,7 @@ var widget = $.widget( "ui.datepicker", {
this._setHiddenPicker(); this._setHiddenPicker();
this._hide( this.calendar, this.options.hide ); this._hide( this.calendar, this.options.hide );
this.element.attr( "tabindex" , 0 ); this.element.attr( "tabindex", 0 );
this.isOpen = false; this.isOpen = false;
this._trigger( "close", event ); this._trigger( "close", event );
@ -274,7 +274,7 @@ var widget = $.widget( "ui.datepicker", {
value: function( value ) { value: function( value ) {
if ( arguments.length ) { if ( arguments.length ) {
this.valueAsDate( Globalize.parseDate( value , this.options.dateFormat ) ); this.valueAsDate( Globalize.parseDate( value, this.options.dateFormat ) );
} else { } else {
return this._getParsedValue() ? this.element.val() : null; return this._getParsedValue() ? this.element.val() : null;
} }