fix: high contrast toggle
This commit is contained in:
parent
a8dc6f0d57
commit
ff59da57b0
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue