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

Function docKeyClose

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

Source from the content-addressed store, hash-verified

193 if (!m.contains(ev.target)) hideFileContextMenu();
194}
195function docKeyClose(ev) {
196 if (ev.key === 'Escape') hideFileContextMenu();
197}
198
199function menuClickDelegate(ev) {
200 const btn = ev.target.closest('.mi[data-action]');

Callers

nothing calls this directly

Calls 1

hideFileContextMenuFunction · 0.85

Tested by

no test coverage detected