ui_report: Fix inappropriate $ prefix.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-03-16 16:40:27 -07:00 committed by Tim Abbott
parent 215791db1e
commit e32ec3f7eb
1 changed files with 2 additions and 2 deletions

View File

@ -66,10 +66,10 @@ export function success(response_html: string, $status_box: JQuery, remove_after
export function generic_embed_error(error_html: string): void { export function generic_embed_error(error_html: string): void {
const $alert = $("<div class='alert home-error-bar'></div>"); const $alert = $("<div class='alert home-error-bar'></div>");
const $exit = "<div class='exit'></div>"; const exit_html = "<div class='exit'></div>";
$(".alert-box").append( $(".alert-box").append(
$alert.html($exit + "<div class='content'>" + error_html + "</div>").addClass("show"), $alert.html(exit_html + "<div class='content'>" + error_html + "</div>").addClass("show"),
); );
} }