MCPcopy Create free account
hub / github.com/TheJoWo/Clean-Clode / updateAboutSectionDisplay

Function updateAboutSectionDisplay

script.js:120–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 }
119
120 function updateAboutSectionDisplay() {
121 const visible = isAboutVisible();
122 const footerSupporter = document.getElementById('footer-supporter');
123
124 if (visible) {
125 aboutContent.style.display = 'block';
126 aboutToggle.textContent = '[ HIDE ]';
127 if (footerSupporter) {
128 footerSupporter.classList.add('hidden');
129 }
130 } else {
131 aboutContent.style.display = 'none';
132 aboutToggle.textContent = '[ SHOW ]';
133 if (footerSupporter) {
134 footerSupporter.classList.remove('hidden');
135 }
136 }
137 }
138
139 function toggleHistory() {
140 const currentlyEnabled = isHistoryEnabled();

Callers 3

toggleAboutSectionFunction · 0.85
performCleanupFunction · 0.85
script.jsFile · 0.85

Calls 1

isAboutVisibleFunction · 0.85

Tested by

no test coverage detected