summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-28 19:50:33 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-28 19:50:33 (GMT)
commit370551a8979e909e9157e6da4c48c36c1fdc8220 (patch)
tree880faea4171e9efd22e33c4ba797d2ae4bf19ba5
parent4ff3a37b12f96b394b74e4fc215a2b41ba2aec67 (diff)
call ReacDOM.render directly for now
-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);
});
}