Skip to content

Commit

Permalink
Remove listener for online event (#4970)
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-docker committed Mar 14, 2022
1 parent b19860d commit f065d0a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ export const initClusterFrame =
});
});

window.addEventListener("online", () => {
window.location.reload();
});

window.onbeforeunload = () => {
logger.info(
`${logPrefix} Unload dashboard, clusterId=${(hostedCluster.id)}, frameId=${frameRoutingId}`,
Expand Down

0 comments on commit f065d0a

Please sign in to comment.