From de79aea53568cf00f07610ceb233cf4f69837e81 Mon Sep 17 00:00:00 2001 From: Tulir Asokan <tulir@maunium.net> Date: Fri, 11 Sep 2020 19:27:08 +0300 Subject: [PATCH] Add error message for browsers with no module support --- web/index.html | 1 + 1 file changed, 1 insertion(+) 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> -- GitLab