add noscript
This commit is contained in:
parent
163c3a3f62
commit
623512c2b5
@ -54,6 +54,11 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noscript {
|
||||||
|
display: block;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
p { line-height: 150%; }
|
p { line-height: 150%; }
|
||||||
a { text-decoration: none; }
|
a { text-decoration: none; }
|
||||||
|
|
||||||
|
@ -12,5 +12,9 @@
|
|||||||
import {main} from "./src/main.js";
|
import {main} from "./src/main.js";
|
||||||
main(document.body);
|
main(document.body);
|
||||||
</script>
|
</script>
|
||||||
|
<noscript>
|
||||||
|
<h1>Please enable javascript</h1>
|
||||||
|
<p>Matrix.to preserves your privacy by only processing which rooms and people you view on the client side. For this to work, it needs javascript.</p>
|
||||||
|
</noscript>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user