diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-17 23:38:47 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-17 23:38:47 +0200 |
commit | a5449ba2b39572ef83b521ddded44c8f0d46a983 (patch) | |
tree | eb14e0b7902a56c7057c656786b8ff21af8dc902 /static | |
parent | Add missing translations. (diff) | |
download | calp-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...
Diffstat (limited to '')
-rw-r--r-- | static/components/vevent-edit.ts | 1 |
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 */ |