"Please use a newer browser" message for nomodule browsers
Massimo Melina committed
Apr 23, 2024 at 14:44 UTC
3d328613a2329a00812ef0765909e44025daded0
2 files changed
+3
-1
admin/index.html
+2
-1
@@ -9,6 +9,7 @@
9
<link rel="icon" type="image/svg+xml" href="/hfs-logo-icon.svg" />
10
</head>
11
<body>
12
- <div id="root"></div>
12
+ <div id="root"></div>
13
+ <script nomodule>document.getElementById('root').innerText = "Please use a newer browser"</script>
14
</body>
15
</html>
frontend/index.html
+1
@@ -9,5 +9,6 @@
9
<body>
10
<noscript>You need to enable JavaScript to run this app.</noscript>
11
<div id="root"></div>
12
+ <script nomodule>document.getElementById('root').innerText = "Please use a newer browser"</script>
13
</body>
14
</html>