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: Remove class when hiding the status element.

Sahil Batradf0e70726ce2
diff --git a/web/src/ui_report.ts b/web/src/ui_report.ts
index 5cd62131549..8d39bb991d0 100644
--- a/web/src/ui_report.ts
+++ b/web/src/ui_report.ts
@@ -27,7 +27,7 @@ export function message(
.fadeTo(0, 1);
if (remove_after !== undefined) {
setTimeout(() => {
- $status_box.fadeOut(400);
+ $status_box.fadeOut(400, () => $status_box.removeClass(cls));
}, remove_after);
}
$status_box.addClass("show");