aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-09-11 19:27:08 +0300
committerTulir Asokan <tulir@maunium.net>2020-09-11 19:27:08 +0300
commitde79aea53568cf00f07610ceb233cf4f69837e81 (patch)
treec1db5640d07046534d4934b7f740853acdaadb34
parenta0470519d74cebb70b5699e9f5c9dd4982fcabe3 (diff)
Add error message for browsers with no module support
-rw-r--r--web/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html
index 50bd7c1..6312814 100644
--- a/web/index.html
+++ b/web/index.html
@@ -14,6 +14,7 @@
<link rel="stylesheet" href="style/index.css"/>
<link rel="stylesheet" href="style/spinner.css"/>
<script src="src/index.js" type="module"></script>
+ <script nomodule>document.body.innerText = "This sticker picker requires modern JavaScript"</script>
</head>
<body>
<noscript>This sticker picker requires JavaScript</noscript>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage