summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/calendar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/calendar.js b/www/js/calendar.js
index fe48ef2..3a87f20 100644
--- a/www/js/calendar.js
+++ b/www/js/calendar.js
@@ -22,6 +22,7 @@
'use strict';
var current_week_offset = 0;
+var components = require('components');
function getLastMonday() {
var d = clock.now()
@@ -98,8 +99,7 @@ function calendar_init() {
$('#calendar').on('wheel', calendar_scroll);
current_week_offset = -4;
clock.addCallback(function(date, time, week) {
-// drawClock(date, time, week, $('#clock'));
- ReactDOM.render(React.createElement(ClockView, { date: date, time: time, week: week }), $('#clock'));
+ components.drawClock(date, time, week, $('#clock'));
calendar_redraw(current_week_offset);
});
}