Browse Source

Add error message for browsers with no module support

pull/26/head
Tulir Asokan 4 years ago
parent
commit
de79aea535
  1. 1
      web/index.html

1
web/index.html

@ -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…
Cancel
Save