mirror of
https://github.com/safing/web
synced 2025-04-20 19:09:10 +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 %}
|
{% include nav.html %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
<script src="{{ site.assets_url }}javascript/nojs.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</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