mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
message_fetch: Switch to using show_error, which is equivalent.
This commit is contained in:
committed by
Tim Abbott
parent
2d406aa9d0
commit
3bb13a1f58
@@ -287,7 +287,7 @@ export function load_messages(opts) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We might want to be more clever here
|
// We might want to be more clever here
|
||||||
$("#connection-error").addClass("show");
|
ui_report.show_error($("#connection-error"));
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
load_messages(opts);
|
load_messages(opts);
|
||||||
}, consts.error_retry_time);
|
}, consts.error_retry_time);
|
||||||
|
|||||||
Reference in New Issue
Block a user