Warning for retarder browsers
This commit is contained in:
parent
e4d27070b9
commit
037e475ecc
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Reference in a new issue