summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/calendar.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/calendar.js b/www/js/calendar.js
index 21e2265..fe48ef2 100644
--- a/www/js/calendar.js
+++ b/www/js/calendar.js
@@ -98,7 +98,8 @@ function calendar_init() {
$('#calendar').on('wheel', calendar_scroll);
current_week_offset = -4;
clock.addCallback(function(date, time, week) {
- drawClock(date, time, week, $('#clock'));
+// drawClock(date, time, week, $('#clock'));
+ ReactDOM.render(React.createElement(ClockView, { date: date, time: time, week: week }), $('#clock'));
calendar_redraw(current_week_offset);
});
}