Remove listener for online event (#4970)

This commit is contained in:
Jim Ehrismann authored and Jim Ehrismann committed 2022-03-14 10:38:02 -04:00
1 parent b19860d14d
commit f065d0a576
1 file changed
-4
@@ -77,10 +77,6 @@ export const initClusterFrame =
}); });
}); });
window.addEventListener("online", () => {
window.location.reload();
});
window.onbeforeunload = () => { window.onbeforeunload = () => {
logger.info( logger.info(
`${logPrefix} Unload dashboard, clusterId=${(hostedCluster.id)}, frameId=${frameRoutingId}`, `${logPrefix} Unload dashboard, clusterId=${(hostedCluster.id)}, frameId=${frameRoutingId}`,