aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-04-06 00:11:29 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-04-06 00:11:29 +0200
commit7e6189131c09736c932722ca928e2cddafb3e892 (patch)
treeb8cc4f089efad5c860c17a1380f14e581e826a01
parentMade small-calendar have box-sizing border-box. (diff)
downloadcalp-7e6189131c09736c932722ca928e2cddafb3e892.tar.gz
calp-7e6189131c09736c932722ca928e2cddafb3e892.tar.xz
Add TODO about end of date interval JS.
-rw-r--r--static/script.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/script.js b/static/script.js
index 0240a26c..4fb1cd4b 100644
--- a/static/script.js
+++ b/static/script.js
@@ -80,6 +80,9 @@ var current_cell = false
function update_current_time_bar () {
var now = new Date()
+ /* TODO
+ The bar and box doesn't get cleared when we leave our time interval.
+ */
if (! (start_time <= now.getTime() && now.getTime() < end_time))
return;