mirror of https://github.com/zulip/zulip.git
ui_report: Fix inappropriate $ prefix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
215791db1e
commit
e32ec3f7eb
|
@ -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"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue