Add error message for browsers with no module support
This commit is contained in:
parent
a0470519d7
commit
de79aea535
|
@ -14,6 +14,7 @@
|
||||||
<link rel="stylesheet" href="style/index.css"/>
|
<link rel="stylesheet" href="style/index.css"/>
|
||||||
<link rel="stylesheet" href="style/spinner.css"/>
|
<link rel="stylesheet" href="style/spinner.css"/>
|
||||||
<script src="src/index.js" type="module"></script>
|
<script src="src/index.js" type="module"></script>
|
||||||
|
<script nomodule>document.body.innerText = "This sticker picker requires modern JavaScript"</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>This sticker picker requires JavaScript</noscript>
|
<noscript>This sticker picker requires JavaScript</noscript>
|
||||||
|
|
Loading…
Reference in New Issue