Merge pull request #184 from Doha2012/master

fix password mismatch
This commit is contained in:
Eugen 2015-04-02 22:42:12 +03:00
commit a63a9e65ec
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();
}
});