Skip to content
Permalink
Browse files

Datepicker: Fixes #3647: added correct class name to highlight select…

…ed day
  • Loading branch information
Ca-Phun Ung
Ca-Phun Ung committed Dec 20, 2008
1 parent 2c4cd69 commit 7b1183d307dee66d2ead594b353f441fdd942ab7
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.datepicker.js
@@ -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);

0 comments on commit 7b1183d

Please sign in to comment.
You can’t perform that action at this time.