Adjust for mobile and HTML5/ECMAScript2023

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2024-09-07 11:32:43 +02:00
parent 0c9b9f61b9
commit d051309253
5 changed files with 41 additions and 38 deletions
+8
View File
@@ -1,4 +1,12 @@
</div>
{% include footer.liquid %}
</body>
<script>
(function() {
// Support for Mobile Devices
document.querySelector("#navigation-toggle").addEventListener("click", (ev) => {
document.querySelector("#header #navigation").classList.toggle("open");
});
})();
</script>
</html>