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
1 changed files with 1 additions and 0 deletions

View File

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