Skip to content

Commit

Permalink
Add scroll to timeout reset actions
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Mar 28, 2024
1 parent b584631 commit b23591d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
resetInactivityTimer();
});
document.addEventListener('click', resetInactivityTimer);
document.addEventListener('scroll', resetInactivityTimer);
});
let isOpen = false;
Expand Down

0 comments on commit b23591d

Please sign in to comment.