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

Function setNavVisibility

public/js/filePreview.js:564–569  ·  view source on GitHub ↗
(overlay, showPrev, showNext)

Source from the content-addressed store, hash-verified

562}
563
564function setNavVisibility(overlay, showPrev, showNext) {
565 const prev = overlay.querySelector('.nav-left');
566 const next = overlay.querySelector('.nav-right');
567 prev.style.display = showPrev ? 'flex' : 'none';
568 next.style.display = showNext ? 'flex' : 'none';
569}
570
571function setRowWatchedBadge(name, watched) {
572 try {

Callers 1

previewFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected