diff --git a/content/static/script/calendar.js b/content/static/script/calendar.js deleted file mode 100644 index 8cc8a0bfe..000000000 --- a/content/static/script/calendar.js +++ /dev/null @@ -1,22 +0,0 @@ -function hilight_today() { - var now = new Date(); - var today_id = "calendar-" + - now.getFullYear() + "-" + - (now.getMonth() + 1) + "-" + - now.getDate(); - - var today = document.getElementById(today_id); - - /* Has document fetching completed enough? */ - if (today) { - var td = today.parentNode; - var klass = td.getAttribute('class'); - klass = (klass || "") + " today"; - td.setAttribute('class', klass); - } else { - /* No calendar, retry later: */ - window.setTimeout(hilight_today, 100); - } -} - -window.setTimeout(hilight_today, 1); diff --git a/xsl/calendar.xsl b/xsl/calendar.xsl index 43740d802..02e20a9c3 100644 --- a/xsl/calendar.xsl +++ b/xsl/calendar.xsl @@ -64,8 +64,9 @@ --> + - + today cal sun