diff options
| author | Tulir Asokan <tulir@maunium.net> | 2020-09-11 19:27:08 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2020-09-11 19:27:08 +0300 |
| commit | de79aea53568cf00f07610ceb233cf4f69837e81 (patch) | |
| tree | c1db5640d07046534d4934b7f740853acdaadb34 | |
| parent | a0470519d74cebb70b5699e9f5c9dd4982fcabe3 (diff) | |
Add error message for browsers with no module support
| -rw-r--r-- | web/index.html | 1 |
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> |
