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

Function doClose

public/js/fileEditor.js:783–788  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

781
782 let canceled = false;
783 const doClose = () => {
784 canceled = true;
785 window.currentEditor = null;
786 window.currentEditorSourceId = '';
787 modal.remove();
788 };
789
790 // Wire close actions right away
791 modal.addEventListener("keydown", (e) => { if (e.key === "Escape") doClose(); });

Callers 1

editFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected