mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Fixes #3647: added correct class name to highlight selected day
This commit is contained in:
parent
2c4cd69440
commit
7b1183d307
@ -1484,7 +1484,7 @@ $.extend(Datepicker.prototype, {
|
||||
(unselectable ? printDate.getDate() : '<a class="ui-state-default' +
|
||||
(printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +
|
||||
(printDate.getTime() >= currentDate.getTime() && printDate.getTime() <= endDate.getTime() ? // in current range
|
||||
' ' + this._currentClass : '') + // highlight selected day
|
||||
' ui-state-active' : '') + // highlight selected day
|
||||
'" href="#">' + printDate.getDate() + '</a>')) + '</td>'; // display for this month
|
||||
printDate.setDate(printDate.getDate() + 1);
|
||||
printDate = this._daylightSavingAdjust(printDate);
|
||||
|
Loading…
Reference in New Issue
Block a user