mirror of
https://github.com/safing/web
synced 2025-04-08 13:09:09 +00:00
Add javascript nojs
This commit is contained in:
parent
79e9421deb
commit
d1f8c13b70
2 changed files with 4 additions and 0 deletions
|
@ -7,5 +7,6 @@
|
|||
{% include nav.html %}
|
||||
{{ content }}
|
||||
{% include footer.html %}
|
||||
<script src="{{ site.assets_url }}javascript/nojs.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
3
assets/javascript/nojs.js
Normal file
3
assets/javascript/nojs.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
document.querySelectorAll('nojs').forEach((nojs) => {
|
||||
nojs.style.display = "none"
|
||||
});
|
Loading…
Add table
Reference in a new issue