More annotation added to the program
This commit is contained in:
@@ -416,6 +416,7 @@ Organization : OptiHK Limited
|
||||
<script>
|
||||
const themeToggle = document.getElementById('theme-toggle');
|
||||
|
||||
// Apply the selected login-page theme class and persist it for the next visit.
|
||||
function applyTheme(mode) {
|
||||
document.body.classList.toggle('light-mode', mode === 'light');
|
||||
themeToggle.textContent = mode === 'light' ? 'Dark Mode' : 'Bright Mode';
|
||||
|
||||
Reference in New Issue
Block a user