diff --git a/core/browser.py b/core/browser.py index c3567ef9b..5d7332163 100644 --- a/core/browser.py +++ b/core/browser.py @@ -577,7 +577,7 @@ def clear_focus(self): ''' Clear the focus.''' self.eval_js(self.clear_focus_js) - @interactive() + @interactive(insert_or_do=True) def dark_mode(self): ''' Dark mode support.''' self.eval_js(self.dark_mode_js)