MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 556: Line 556:
document.body.classList.remove("darkMode");
document.body.classList.remove("darkMode");
}
}
$("#personal-inner").append(`<button onClick="toggleDarkMode();">Toggle Dark Mode</button>`);
});
});