()
| 163 | } |
| 164 | |
| 165 | function updateHistoryUI() { |
| 166 | const enabled = isHistoryEnabled(); |
| 167 | historyToggle.textContent = enabled ? '[ ON ]' : '[ TURN ON ]'; |
| 168 | historyToggle.classList.toggle('enabled', enabled); |
| 169 | historyToggle.classList.toggle('disabled', !enabled); |
| 170 | } |
| 171 | |
| 172 | function getHistory() { |
| 173 | try { |
no test coverage detected