Download templates/lambda-discrepancy.github.io/js/hideshowelement.js from Mqleet/AutoPage: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/spaces/Mqleet/AutoPage/resolve/main/templates/lambda-discrepancy.github.io/js/hideshowelement.js
- Command line
-
hf download hf://spaces/Mqleet/AutoPage/templates/lambda-discrepancy.github.io/js/hideshowelement.js
-
curl -L -o hideshowelement.js https://huggingface.co/spaces/Mqleet/AutoPage/resolve/main/templates/lambda-discrepancy.github.io/js/hideshowelement.js
214 Bytes
| function HideShowElement(elementId) { | |
| var x = document.getElementById(elementId); | |
| if (x.style.display === "none") { | |
| x.style.display = "block"; | |
| } else { | |
| x.style.display = "none"; | |
| } | |
| } | |