aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorCa-Phun Ung <pazu2k@gmail.com>2008-12-20 16:09:04 +0000
committerCa-Phun Ung <pazu2k@gmail.com>2008-12-20 16:09:04 +0000
commit7b1183d307dee66d2ead594b353f441fdd942ab7 (patch)
tree0d070e10bde7476a2c5d594eef34dbb1220a30cd /ui
parent2c4cd694403beef44aff0cd1e693d6a12371974d (diff)
downloadjquery-ui-7b1183d307dee66d2ead594b353f441fdd942ab7.tar.gz
jquery-ui-7b1183d307dee66d2ead594b353f441fdd942ab7.zip
Datepicker: Fixes #3647: added correct class name to highlight selected day
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js
index 19147cb9d..aa646016a 100644
--- a/ui/ui.datepicker.js
+++ b/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);