From 3ce7d9347de109f306f28329dc7ffda85c51c962 Mon Sep 17 00:00:00 2001 From: binary-husky Date: Tue, 16 Jan 2024 00:33:11 +0800 Subject: [PATCH] dark support --- themes/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/theme.py b/themes/theme.py index ff490666..a333f3e6 100644 --- a/themes/theme.py +++ b/themes/theme.py @@ -111,7 +111,7 @@ js_code_for_toggle_darkmode = """() => { } else { document.querySelector('body').classList.add('dark'); } - document.querySelectorAll('code2').forEach(code => {code.remove();}) + document.querySelectorAll('code_pending_render').forEach(code => {code.remove();}) }"""