(id)
| 1 | const OPENCLAW_APP_KEY = "pk_6qmH5idGyIiJdbgA"; |
| 2 | |
| 3 | function copyCode(id) { |
| 4 | const el = document.getElementById(id); |
| 5 | const inner = el.querySelector(".code-inner") || el; |
| 6 | const text = inner.textContent.trim(); |
| 7 | navigator.clipboard.writeText(text).then(() => { |
| 8 | const btn = el.querySelector(".copy-btn"); |
| 9 | btn.textContent = "Copied!"; |
| 10 | setTimeout(() => { |
| 11 | btn.textContent = "Copy"; |
| 12 | }, 1500); |
| 13 | }); |
| 14 | } |
| 15 | |
| 16 | function toggleManual() { |
| 17 | const el = document.getElementById("manual-config"); |
nothing calls this directly
no outgoing calls
no test coverage detected