fix password mismatch
This commit is contained in:
parent
51cbb0f14e
commit
22966a8897
|
@ -68,9 +68,11 @@ $(document).ready(function () {
|
||||||
register(event);
|
register(event);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#password').keyup(function(){
|
$(":password").keyup(function(){
|
||||||
if($("#password").val() != $("#matchPassword").val()){
|
if($("#password").val() != $("#matchPassword").val()){
|
||||||
$("#globalError").show().html("Password mismatch");
|
$("#globalError").show().html("Password mismatch");
|
||||||
|
}else{
|
||||||
|
$("#globalError").html("").hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue