Auto-publish on Wed 6 Aug 15:28:34 BST 2025
This commit is contained in:
@@ -11,6 +11,7 @@ function setTheme(mode) {
|
||||
function toggleTheme() {
|
||||
const current = document.body.classList.contains('dark') ? 'dark' : 'light';
|
||||
setTheme(current === 'dark' ? 'light' : 'dark');
|
||||
console.log("Testing");
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
Reference in New Issue
Block a user