Download script.js from nezihai/README: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/spaces/nezihai/README/resolve/main/script.js
- Command line
-
hf download hf://spaces/nezihai/README/script.js
-
curl -L -o script.js https://huggingface.co/spaces/nezihai/README/resolve/main/script.js
379 Bytes
| function toggleDarkMode() { | |
| document.body.classList.toggle("dark-mode"); | |
| } | |
| function toggleDropdown() { | |
| const menu = document.getElementById('dropdownMenu'); | |
| menu.classList.toggle('show'); | |
| } | |
| function toggleSidebar() { | |
| const sidebar = document.querySelector('.sidebar'); | |
| sidebar.classList.toggle('open'); | |
| sidebar.classList.toggle('closed'); | |
| } |