diff --git a/server.py b/server.py index d6069d5e..31e1c4c6 100644 --- a/server.py +++ b/server.py @@ -154,6 +154,9 @@ def create_interface(): if ({str(shared.settings['dark_theme']).lower()}) {{ document.getElementsByTagName('body')[0].classList.add('dark'); }} + else {{ + document.getElementsByTagName('body')[0].classList.remove('dark'); + }} {js} {ui.show_controls_js} toggle_controls(x);