Skip to content

Commit

Permalink
remove unneccessary debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
sijakret committed Nov 5, 2020
1 parent 3bb9ed8 commit 43774f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ function updatePageVisibility(visible = !document.hidden){
}
updatePageVisibility();
document.addEventListener('visibilitychange', () => updatePageVisibility(), false);

if(process.env.DEBUG) {
// @ts-ignore
window.updatePageVisibility = updatePageVisibility;
}

export function pageVisible():Boolean {
return _visible;
Expand Down

0 comments on commit 43774f3

Please sign in to comment.