mirror of https://github.com/zulip/zulip.git
reload: Remove obsolete location.reload(true) usage.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
16d37eb80a
commit
0be5cc232c
|
@ -160,13 +160,13 @@ function do_reload_app(send_after_reload, save_compose, message_html) {
|
|||
$(window).one("focus", () => {
|
||||
blueslip.log("Retrying on-focus page reload");
|
||||
|
||||
window.location.reload(true);
|
||||
window.location.reload();
|
||||
});
|
||||
}, 5000);
|
||||
|
||||
function retry_reload() {
|
||||
blueslip.log("Retrying page reload due to 30s timer");
|
||||
window.location.reload(true);
|
||||
window.location.reload();
|
||||
}
|
||||
util.call_function_periodically(retry_reload, 30000);
|
||||
|
||||
|
@ -176,7 +176,7 @@ function do_reload_app(send_after_reload, save_compose, message_html) {
|
|||
blueslip.error("Failed to clean up before reloading", undefined, error);
|
||||
}
|
||||
|
||||
window.location.reload(true);
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
export function initiate({
|
||||
|
|
Loading…
Reference in New Issue