File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1491,7 +1491,7 @@ $.extend(Datepicker.prototype, {
1491
1491
( otherMonth && ! showOtherMonths ? ' ' : // display for other months
1492
1492
( unselectable ? '<span class="ui-state-default">' + printDate . getDate ( ) + '</span>' : '<a class="ui-state-default' +
1493
1493
( printDate . getTime ( ) == today . getTime ( ) ? ' ui-state-highlight' : '' ) +
1494
- ( printDate . getTime ( ) == currentDate . getTime ( ) ? ' ui-state-active' : '' ) + // highlight selected day
1494
+ ( printDate . getTime ( ) == selectedDate . getTime ( ) ? ' ui-state-active' : '' ) + // highlight selected day
1495
1495
( otherMonth ? ' ui-priority-secondary' : '' ) + // distinguish dates from other months
1496
1496
'" href="#">' + printDate . getDate ( ) + '</a>' ) ) + '</td>' ; // display selectable date
1497
1497
printDate . setDate ( printDate . getDate ( ) + 1 ) ;
You can’t perform that action at this time.
0 commit comments