Skip to content

Commit

Permalink
Update live.html
Browse files Browse the repository at this point in the history
  • Loading branch information
itzfew authored Feb 2, 2025
1 parent 687a52d commit b311cd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions live.html
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ <h2>Active Users:</h2>
document.getElementById('loginForm').style.display = 'block';
}
});
window.onbeforeunload = function() {
return "Are you sure you want to leave? Any unsaved changes will be lost.";
};
</script>
</body>

Expand Down

0 comments on commit b311cd0

Please sign in to comment.