MCPcopy Create free account
hub / github.com/Alfredredbird/CyberKelp / onGraphEscape

Function onGraphEscape

script.js:710–712  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

708}
709
710function onGraphEscape(e) {
711 if (e.key === "Escape") closeGraphView();
712}
713
714function initGraphView() {
715 document.getElementById("graph-toggle").addEventListener("click", openGraphView);

Callers

nothing calls this directly

Calls 1

closeGraphViewFunction · 0.85

Tested by

no test coverage detected