Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ui_report: Fix inappropriate $ prefix.

Anders Kaseorge32ec3f7eb0a
diff --git a/static/js/ui_report.ts b/static/js/ui_report.ts
index 6d5233d7ffc..5cdf8901542 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 = $("<div class='alert home-error-bar'></div>");
- const $exit = "<div class='exit'></div>";
+ const exit_html = "<div class='exit'></div>";
$(".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"),
);
}