()
| 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(); |
no test coverage detected