[Fatal] Nav bar js override
This commit is contained in:
parent
831d3a8797
commit
fd762c8573
|
@ -1,5 +1,9 @@
|
|||
{% block libs %}
|
||||
<script async defer data-domain="linkedin.github.io" src="https://tracking.eskratch.com/js/plausible.js"></script>
|
||||
<script>document.addEventListener("DOMContentLoaded", function() {
|
||||
if (document.getElementById("nav-3").checked!=true && window.innerWidth>900)
|
||||
document.getElementById("nav-2").checked=true;
|
||||
});</script>
|
||||
{% endblock %}
|
||||
{% set site_url = config.site_url | default(nav.homepage.url, true) | url %}
|
||||
{% if not config.use_directory_urls and site_url[0] == site_url[-1] == "." %}
|
||||
|
|
Loading…
Reference in New Issue