fix: high contrast toggle

This commit is contained in:
trisua 2025-07-25 19:12:16 -04:00
parent a8dc6f0d57
commit ff59da57b0

View file

@ -317,7 +317,7 @@ globalThis.toggle_metadata_css = (e) => {
METADATA_CSS_ENABLED = !METADATA_CSS_ENABLED;
if (!METADATA_CSS_ENABLED) {
media_theme_pref(); // user user theme
document.documentElement.classList.add("no_meta"); // remove css
document.getElementById("metadata_css").remove(); // remove css
// reset colored text
for (const element of Array.from(