Modificados eventos login y registro
This commit is contained in:
+2
-2
@@ -98,7 +98,7 @@ function comprobarSesion() {
|
||||
}
|
||||
|
||||
// Registro
|
||||
$("#botonAceptarRegistro").click(function (event) {
|
||||
$(document).on("click", "#botonAceptarRegistro", function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
let nombreUsuario = $("#regNombre").val().trim();
|
||||
@@ -151,7 +151,7 @@ $("#botonAceptarRegistro").click(function (event) {
|
||||
});
|
||||
|
||||
// Login
|
||||
$("#botonAceptarLogin").click(function (event) {
|
||||
$(document).on("click", "#botonAceptarLogin", function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
let email = $("#loginEmail").val().trim();
|
||||
|
||||
Reference in New Issue
Block a user