diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-12 15:56:10 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-12 15:56:10 +0200 |
commit | 36cd104f321c4a234f22faf75534b4ff786ec9e0 (patch) | |
tree | 8f4feaea7234a8832eea57fc69c60ce275072fb3 /static/script.js | |
parent | Reintroduce time input on generated events for HTML. (diff) | |
download | calp-36cd104f321c4a234f22faf75534b4ff786ec9e0.tar.gz calp-36cd104f321c4a234f22faf75534b4ff786ec9e0.tar.xz |
Fixed display end time of short events.
Diffstat (limited to 'static/script.js')
-rw-r--r-- | static/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js index f54ab2d8..1679c74e 100644 --- a/static/script.js +++ b/static/script.js @@ -468,7 +468,7 @@ function bind_properties (el) { } if (el.properties.dtend) { - el.properties.dtend = new Date(el.properties.dtstart); + el.properties.dtend = new Date(el.properties.dtend); el.properties["_slot_dtend"].push( [el.style, (s, v) => s.bottom = (100 - date_to_percent(v)) + "%"]); } |