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

Function getTopmostModal

public/js/main.js:389–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387}
388
389function getTopmostModal() {
390 const open = getOpenModals();
391 return open.length ? open[open.length - 1] : null;
392}
393
394function isFocusableVisible(el) {
395 if (!el) return false;

Callers 1

trapFocusInModalFunction · 0.85

Calls 1

getOpenModalsFunction · 0.85

Tested by

no test coverage detected