forked from lucaspatenaude/ScoreSpot
File structure updates
This commit is contained in:
@@ -1,41 +1,34 @@
|
||||
$(document).ready(function() {
|
||||
$(document).ready(function () {
|
||||
// When #user is clicked
|
||||
$("#user-profile-button").click(function () {
|
||||
$("#register-screen-container").hide();
|
||||
// Toggle the visibility of the login container
|
||||
$("#login-pane").toggle();
|
||||
});
|
||||
|
||||
// When #user is clicked
|
||||
$('#user-profile-button').click(function() {
|
||||
|
||||
$('#register-screen-container').hide();
|
||||
// Toggle the visibility of the login container
|
||||
$('#login-pane').toggle();
|
||||
});
|
||||
|
||||
$('#register-page-login-button').click(function (event) {
|
||||
event.preventDefault(); // Prevent the default action of following the link
|
||||
|
||||
$('#register-screen-container').hide();
|
||||
$('#login-pane').show();
|
||||
});
|
||||
$("#register-page-login-button").click(function (event) {
|
||||
event.preventDefault(); // Prevent the default action of following the link
|
||||
|
||||
$("#register-screen-container").hide();
|
||||
$("#login-pane").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
|
||||
// Listen for click event on the register button
|
||||
$("#register-button").click(function (event) {
|
||||
event.preventDefault(); // Prevent the default action of following the link
|
||||
|
||||
$('#login-pane').hide();
|
||||
// Show the register container
|
||||
$('#register-screen-container').show();
|
||||
});
|
||||
|
||||
$("#login-pane").hide();
|
||||
// Show the register container
|
||||
$("#register-screen-container").show();
|
||||
});
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
// When #user is clicked
|
||||
$('#user-profile-button').click(function() {
|
||||
|
||||
// Toggle the visibility of the login container
|
||||
$('#account-pane').toggle();
|
||||
});
|
||||
});
|
||||
$(document).ready(function () {
|
||||
// When #user is clicked
|
||||
$("#user-profile-button").click(function () {
|
||||
// Toggle the visibility of the login container
|
||||
$("#account-pane").toggle();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user