MCPcopy Create free account
hub / github.com/error311/FileRise / docClickClose

Function docClickClose

public/js/fileMenu.js:191–194  ·  view source on GitHub ↗
(ev)

Source from the content-addressed store, hash-verified

189let __ctxBoundOnce = false;
190
191function docClickClose(ev) {
192 const m = qMenu(); if (!m || m.hidden) return;
193 if (!m.contains(ev.target)) hideFileContextMenu();
194}
195function docKeyClose(ev) {
196 if (ev.key === 'Escape') hideFileContextMenu();
197}

Callers

nothing calls this directly

Calls 2

qMenuFunction · 0.85
hideFileContextMenuFunction · 0.85

Tested by

no test coverage detected