diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 9627f5fc7..334e35079 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -320,7 +320,6 @@ require("anki/ui").loaded.then(() => require("anki/NoteEditor").instances[0].too label_element = cmd title_attribute = shortcut(title_attribute) - cmd_to_toggle_button = "toggleEditorButton(this);" if toggleable else "" id_attribute_assignment = f"id={id}" if id else "" class_attribute = "linkb" if rightside else "rounded" if not disables: @@ -328,11 +327,11 @@ require("anki/ui").loaded.then(() => require("anki/NoteEditor").instances[0].too return f"""