Add error message for browsers with no module support

This commit is contained in:
Tulir Asokan 2020-09-11 19:27:08 +03:00
parent a0470519d7
commit de79aea535

View File

@ -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>