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();}) }"""