aboutsummaryrefslogtreecommitdiff
path: root/static/components/vevent.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-12 00:13:02 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-12 00:13:02 +0200
commitda8d1467dff8b27af7a3ae649d92ead5cbf704d8 (patch)
treecd4231abb8ec24d79dd3a4a8b5e563ee2bb82219 /static/components/vevent.ts
parentAdd number of TODO's. (diff)
parentHandle error for user-additions salar. (diff)
downloadcalp-da8d1467dff8b27af7a3ae649d92ead5cbf704d8.tar.gz
calp-da8d1467dff8b27af7a3ae649d92ead5cbf704d8.tar.xz
Allow HTML output of all routes.
XHTML is still the far supperior format. However; Chrome(-like) browsers Lighthouse feature is worth quite a bit when it comes to ensuring a good web page, and Lighthouse refuses to work on anything except text/html. This is my work-around for that.
Diffstat (limited to 'static/components/vevent.ts')
-rw-r--r--static/components/vevent.ts2
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;