diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-11 23:18:11 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-12 00:09:54 +0200 |
commit | 8da01b382ce43802ef164b86cc7e8c714d85a0f3 (patch) | |
tree | 85659ee554df65b86e34eaa297dda9d212fa3e57 /static/components/vevent.ts | |
parent | Embedd fragile strings in sxml in procedures. (diff) | |
download | calp-8da01b382ce43802ef164b86cc7e8c714d85a0f3.tar.gz calp-8da01b382ce43802ef164b86cc7e8c714d85a0f3.tar.xz |
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).
Diffstat (limited to 'static/components/vevent.ts')
-rw-r--r-- | static/components/vevent.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |