From cb81774e4973037843f3d4a67f3c34ed1195eb24 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 28 Nov 2009 18:33:26 -0500 Subject: [PATCH] Fix hightlighting current day in the minical --- kronolith/js/kronolith.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 5b7eeee4d..bac9ba5f2 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -763,6 +763,8 @@ KronolithCore = { date7 = date.clone().add(1).week(), today = Date.today(), weekStart, weekEnd, weekEndDay, dateString, td, tr, i; + day = new Date(day.getFullYear(), day.getMonth(), day.getDate(), 0, 0, 0); + // Remove old calendar rows. Maybe we should only rebuild the minical // if necessary. tbody.childElements().invoke('remove'); -- 2.11.0