aboutsummaryrefslogtreecommitdiff
path: root/static/clock.js
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-01-13 22:50:51 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-01-13 22:50:51 +0100
commit641278c624a3a0c06856656255f648f2cf4f6a92 (patch)
tree49c47c4c61dd0704e89cfd75681bc16f171e7ad5 /static/clock.js
parentAdd debug buttons in popup for dumping xcal and jcal. (diff)
parentDocument (vcompenent control). (diff)
downloadcalp-641278c624a3a0c06856656255f648f2cf4f6a92.tar.gz
calp-641278c624a3a0c06856656255f648f2cf4f6a92.tar.xz
Merge branch 'doc' into jcal
Diffstat (limited to '')
-rw-r--r--static/clock.js6
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',