mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Refactor _updateAlternate()
method
Closes gh-1647
This commit is contained in:
parent
0cc197a421
commit
cd7f8f02cf
@ -1089,7 +1089,7 @@ $.extend( Datepicker.prototype, {
|
||||
altFormat = this._get( inst, "altFormat" ) || this._get( inst, "dateFormat" );
|
||||
date = this._getDate( inst );
|
||||
dateStr = this.formatDate( altFormat, date, this._getFormatConfig( inst ) );
|
||||
$( altField ).each( function() { $( this ).val( dateStr ); } );
|
||||
$( altField ).val( dateStr );
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user