Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaTheLEGEND authored Nov 8, 2023
1 parent 12f8083 commit bb660a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ function sendNotification(title, body, icon) {


function handleVisibilityChange() {
constantID();
if (document.hidden || document.webkitHidden) {
isPageVisible = false; // Page is not in focus

Expand Down

0 comments on commit bb660a4

Please sign in to comment.