diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-13 22:48:42 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-13 22:48:42 +0100 |
commit | 45b2adc1fd8d0555b23a41fcbfde273f7a979067 (patch) | |
tree | 7efffef4c381e08e7c7183082b1fa79354dd09b2 /static/clock.js | |
parent | Fix repo-url in HTML. (diff) | |
download | calp-45b2adc1fd8d0555b23a41fcbfde273f7a979067.tar.gz calp-45b2adc1fd8d0555b23a41fcbfde273f7a979067.tar.xz |
Repair timebar.
Diffstat (limited to '')
-rw-r--r-- | static/clock.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/clock.js b/static/clock.js index 40382faa..b7777a08 100644 --- a/static/clock.js +++ b/static/clock.js @@ -16,14 +16,14 @@ class Timebar extends Clock { update(now) { - if (! (this.start_time <= now.getTime() && now.getTime() < this.end_time)) - return; + // if (! (this.start_time <= now.getTime() && now.getTime() < this.end_time)) + // return; var event_area = document.getElementById(now.format("~Y-~m-~d")) if (event_area) { if (this.bar_object) { - this.bar_object.parentNode.removeChild(bar_object) + this.bar_object.parentNode.removeChild(this.bar_object) } else { this.bar_object = makeElement ('div', { id: 'bar', |