diff --git a/src/page.h b/src/page.h index 770262f..ff44b91 100644 --- a/src/page.h +++ b/src/page.h @@ -2320,6 +2320,9 @@ namespace xmreg add_css_style(context); + if (enable_js) + add_js_files(context); + if (unsigned_tx_given) { @@ -2660,6 +2663,9 @@ namespace xmreg add_css_style(context); + if (enable_js) + add_js_files(context); + // render the page return mstch::render(template_file["checkrawtx"], context, partials); @@ -2906,6 +2912,7 @@ namespace xmreg } + map partials { {"tx_details", template_file["tx_details"]}, };