1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-12-21 06:30:43 +00:00

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>