From 8da01b382ce43802ef164b86cc7e8c714d85a0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 11 Jun 2022 23:18:11 +0200 Subject: Follow all instances of tagName with toLowerCase. A HTML document returns tag names as upper case, while xml documents return them as lower case (or possibly their original case). --- static/components/vevent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/components/vevent.ts') diff --git a/static/components/vevent.ts b/static/components/vevent.ts index b72cda90..2193eabc 100644 --- a/static/components/vevent.ts +++ b/static/components/vevent.ts @@ -15,7 +15,7 @@ abstract class ComponentVEvent extends HTMLElement { constructor(uid?: string) { super(); - this.template = document.getElementById(this.tagName) as HTMLTemplateElement | null + this.template = document.getElementById(this.tagName.toLowerCase()) as HTMLTemplateElement | null let real_uid; -- cgit v1.2.3