message_fetch: Switch to using show_error, which is equivalent.

This commit is contained in:
Alex Vandiver
2022-10-17 18:26:24 -04:00
committed by Tim Abbott
parent 2d406aa9d0
commit 3bb13a1f58

View File

@@ -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);