diff --git a/static/js/ui_report.ts b/static/js/ui_report.ts index 6d5233d7ff..5cdf890154 100644 --- a/static/js/ui_report.ts +++ b/static/js/ui_report.ts @@ -66,10 +66,10 @@ export function success(response_html: string, $status_box: JQuery, remove_after export function generic_embed_error(error_html: string): void { const $alert = $("
"); - const $exit = "
"; + const exit_html = "
"; $(".alert-box").append( - $alert.html($exit + "
" + error_html + "
").addClass("show"), + $alert.html(exit_html + "
" + error_html + "
").addClass("show"), ); }