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

Function onClose

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

Source from the content-addressed store, hash-verified

512 lockPageScroll(false);
513 };
514 const onClose = () => { userClosed = true; destroy(true); };
515
516 modal.querySelector('#closeEditorX')?.addEventListener('click', onClose);
517 modal.addEventListener('keydown', (e) => { if (e.key === 'Escape') onClose(); });

Callers 1

openOnlyOfficeFunction · 0.85

Calls 1

destroyFunction · 0.85

Tested by

no test coverage detected