fix password mismatch

This commit is contained in:
DOHA 2015-04-02 21:26:41 +02:00
parent 51cbb0f14e
commit 22966a8897
1 changed files with 3 additions and 1 deletions

View File

@ -68,9 +68,11 @@ $(document).ready(function () {
register(event);
});
$('#password').keyup(function(){
$(":password").keyup(function(){
if($("#password").val() != $("#matchPassword").val()){
$("#globalError").show().html("Password mismatch");
}else{
$("#globalError").html("").hide();
}
});