Spaces:
Running on Zero
Running on Zero
Download static/js/sidebar.js from devsai1010/telegraqm-web-admin: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/devsai1010/telegraqm-web-admin/resolve/main/static/js/sidebar.js
- Command line
-
hf download hf://spaces/devsai1010/telegraqm-web-admin/static/js/sidebar.js
-
curl -L -o sidebar.js https://huggingface.co/spaces/devsai1010/telegraqm-web-admin/resolve/main/static/js/sidebar.js
411 Bytes
| function switchView(v) { | |
| activeView = v; | |
| document.querySelectorAll('.view-btn').forEach(b => b.classList.toggle('active', b.dataset.view === v)); | |
| lastChatsHash = ''; | |
| renderChatList(allChats); | |
| } | |
| function setTab(t) { | |
| activeTab = t; | |
| document.querySelectorAll('.ftab').forEach(b => b.classList.toggle('active', b.dataset.tab === t)); | |
| lastChatsHash = ''; | |
| renderChatList(allChats); | |
| } | |