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.

message_fetch: Switch to using show_error, which is equivalent.

Alex Vandiver3bb13a1f589c
diff --git a/static/js/message_fetch.js b/static/js/message_fetch.js
index 6e0da3991f7..5cf2c3d3dfc 100644
--- a/static/js/message_fetch.js
+++ b/static/js/message_fetch.js
@@ -287,7 +287,7 @@ export function load_messages(opts) {
}
// We might want to be more clever here
- $("#connection-error").addClass("show");
+ ui_report.show_error($("#connection-error"));
setTimeout(() => {
load_messages(opts);
}, consts.error_retry_time);