Fixes to live scoreboard and file formatting

This commit is contained in:
Lucas Patenaude
2024-04-24 03:50:05 -06:00
parent 9e7d4de169
commit ea9b4b3216
5 changed files with 17 additions and 18 deletions

View File

@@ -0,0 +1,30 @@
$(document).ready(function() {
// When #user is clicked
$('#user-profile-button').click(function() {
$('#register-screen-container').hide();
// Toggle the visibility of the login container
$('#login-page').toggle();
});
$('#register-page-login-button').click(function() {
event.preventDefault(); // Prevent the default action of following the link
$('#register-screen-container').hide();
$('#login-screen-container').show();
});
});
$(document).ready(function () {
// Listen for click event on the register button
$('#register-button').click(function (event) {
event.preventDefault(); // Prevent the default action of following the link
$('#login-screen-container').hide();
// Show the register container
$('#register-screen-container').show();
});
});