From a5449ba2b39572ef83b521ddded44c8f0d46a983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 17 Oct 2022 23:38:47 +0200 Subject: 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... --- static/components/vevent-edit.ts | 1 + 1 file changed, 1 insertion(+) 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 */ -- cgit v1.2.3