Fixes to login and registration panes linking
This commit is contained in:
@@ -12,7 +12,7 @@ $(document).ready(function() {
|
|||||||
event.preventDefault(); // Prevent the default action of following the link
|
event.preventDefault(); // Prevent the default action of following the link
|
||||||
|
|
||||||
$('#register-screen-container').hide();
|
$('#register-screen-container').hide();
|
||||||
$('#login-screen-container').show();
|
$('#login-pane').show();
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -23,7 +23,7 @@ $(document).ready(function () {
|
|||||||
$('#register-button').click(function (event) {
|
$('#register-button').click(function (event) {
|
||||||
event.preventDefault(); // Prevent the default action of following the link
|
event.preventDefault(); // Prevent the default action of following the link
|
||||||
|
|
||||||
$('#login-screen-container').hide();
|
$('#login-pane').hide();
|
||||||
// Show the register container
|
// Show the register container
|
||||||
$('#register-screen-container').show();
|
$('#register-screen-container').show();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user