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

Function clearSectionTimer

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

Source from the content-addressed store, hash-verified

5590const SECTION_ANIM_MS = 160;
5591
5592function clearSectionTimer(cnt) {
5593 if (cnt && cnt.__closeTimer) {
5594 clearTimeout(cnt.__closeTimer);
5595 cnt.__closeTimer = null;
5596 }
5597 if (cnt && cnt.__focusTimer) {
5598 clearTimeout(cnt.__focusTimer);
5599 cnt.__focusTimer = null;
5600 }
5601}
5602
5603function openSectionContent(cnt) {
5604 if (!cnt) return;

Callers 4

openSectionContentFunction · 0.85
closeSectionContentFunction · 0.85
scheduleSectionFocusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected