aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-17 23:38:47 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-17 23:38:47 +0200
commita5449ba2b39572ef83b521ddded44c8f0d46a983 (patch)
treeeb14e0b7902a56c7057c656786b8ff21af8dc902
parentAdd missing translations. (diff)
downloadcalp-a5449ba2b39572ef83b521ddded44c8f0d46a983.tar.gz
calp-a5449ba2b39572ef83b521ddded44c8f0d46a983.tar.xz
Repair labels in HTML.
At commit bbecd2476ebddb2731065aad2f3895c5074c9ecb the code changed from generating valid labels backend to generating them frontend. I however forgot to attach the labels to the DOM...
-rw-r--r--static/components/vevent-edit.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/components/vevent-edit.ts b/static/components/vevent-edit.ts
index 6ac91c9f..e3b5d105 100644
--- a/static/components/vevent-edit.ts
+++ b/static/components/vevent-edit.ts
@@ -36,6 +36,7 @@ class ComponentEdit extends ComponentVEvent {
el.id = id;
label.htmlFor = id;
label.textContent = (el as HTMLElement).dataset.label!;
+ el.parentElement!.insertBefore(label, el);
}
/* Handle calendar dropdown */