Skip to content

Commit

Permalink
removed logs
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul-Az <iamazzeez@gmail.com>
  • Loading branch information
iamazzeez committed Jul 15, 2021
1 parent 9be20a0 commit 7388927
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,11 @@ export class ChefSessionService implements CanActivate {
window.onclick = resetTimer; // catches touchpad clicks as well
window.onkeydown = resetTimer;
window.addEventListener('scroll', resetTimer, true);
broadcastChannel.onmessage = resetTimer; // catches different tabs activity
broadcastChannel.onmessage = resetTimer; // catches different tabs/window of same browser activity

function resetTimer() {
if (idleTime > 0) {
broadcastChannel.postMessage('resetTimer');
console.log('called resetTimer');
idleTime = 0;
}
}
Expand Down

0 comments on commit 7388927

Please sign in to comment.