mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Remove whitespace
Ref gh-1432
This commit is contained in:
parent
876aed3cd5
commit
a5734cdd4d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user