Warning for retarder browsers

This commit is contained in:
Standa Lukeš 2020-10-17 20:36:00 +00:00
parent e4d27070b9
commit 037e475ecc

View file

@ -20,9 +20,16 @@
<link rel='stylesheet' href='/build/bundle.css'> <link rel='stylesheet' href='/build/bundle.css'>
<script type="module" src='/build/bundle.js'></script> <script type="module" src='/build/bundle.js'></script>
<script nomodule>
document.onload = () => {
document.getElementById("svelte-root").textContent = "Tvůj prohlížeč je mentálně retardovaný, sežeň si prosím třeba aktuální Firefox."
}
</script>
</head> </head>
<body style="padding: 0"> <body style="padding: 0">
<div id="svelte-root" style="position: relative;"></div> <div id="svelte-root" style="position: relative;">
<noscript>Interaktivní grafy bez Javascriptu neumím</noscript>
</div>
</body> </body>
</html> </html>