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

Function openSectionContent

public/js/adminPanel.js:5603–5611  ·  view source on GitHub ↗
(cnt)

Source from the content-addressed store, hash-verified

5601}
5602
5603function openSectionContent(cnt) {
5604 if (!cnt) return;
5605 clearSectionTimer(cnt);
5606 cnt.style.display = "block";
5607 cnt.classList.remove("is-closing");
5608 requestAnimationFrame(() => {
5609 cnt.classList.add("is-open");
5610 });
5611}
5612
5613function closeSectionContent(cnt) {
5614 if (!cnt) return;

Callers 1

toggleSectionFunction · 0.85

Calls 1

clearSectionTimerFunction · 0.85

Tested by

no test coverage detected