diff --git a/assets/development/scripts/home.js b/assets/development/scripts/home.js index 5eaacd8..40252ad 100644 --- a/assets/development/scripts/home.js +++ b/assets/development/scripts/home.js @@ -1,3 +1,6 @@ +/** + * Nav management + */ let navOpened = false; let oldNavText = ""; let oldNavIcon = ""; @@ -9,6 +12,7 @@ let navContent = document.getElementById('nav-content'); let mosaic = document.getElementById('mosaic'); let mosaicHeader = document.getElementById('mosaic-header'); +let tags = [] navEnabler.onclick = async () => { if (!navOpened) { @@ -34,6 +38,9 @@ function createEl(className = false, elName = "div") { return el; } +/** + * Render + */ function renderNavItem(tag) { /* @@ -72,7 +77,8 @@ {% block scripts %}