Spaces:
Running
Running
Download script.js from Specthor/peoplepulse-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/Specthor/peoplepulse-dashboard/resolve/main/script.js
- Command line
-
hf download hf://spaces/Specthor/peoplepulse-dashboard/script.js
-
curl -L -o script.js https://huggingface.co/spaces/Specthor/peoplepulse-dashboard/resolve/main/script.js
511 Bytes
| // Global functions and utilities can be added here | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Mobile menu toggle functionality | |
| const mobileMenuButton = document.querySelector('.mobile-menu-button'); | |
| const navMenu = document.querySelector('.nav-menu'); | |
| if (mobileMenuButton) { | |
| mobileMenuButton.addEventListener('click', function() { | |
| navMenu.classList.toggle('hidden'); | |
| }); | |
| } | |
| // Feather icons replacement | |
| feather.replace(); | |
| }); |