diff --git a/addon/card_type.py b/addon/card_type.py index 07f3b13..4db9ed4 100644 --- a/addon/card_type.py +++ b/addon/card_type.py @@ -127,6 +127,7 @@ def field_exists(name): """ + jquery_js = "\n\n" common_back_js = "\n\n" dmak_js = "\n\n" raphael_js = "\n\n" @@ -135,11 +136,13 @@ def field_exists(name): # Set template html template["qfmt"] = ( + jquery_js + settings_html + "\n\n" + japanese_util_js + read_web_file_with_includes(f"front-{self.label}.html") ) template["afmt"] = ( + jquery_js + settings_html + "\n\n" + dmak_js + raphael_js +