Bug fixes

This commit is contained in:
Hillel Coren 2015-12-29 23:55:35 +02:00
parent eb450365d6
commit dbf2ec5e13

View File

@ -141,7 +141,7 @@ function ViewModel(data) {
var isValid = true;
$('input.client-email').each(function(item, value) {
var email = $(value).val();
if (!first_name && (!email || !isValidEmailAddress(email))) {
if (!firstName && (!email || !isValidEmailAddress(email))) {
isValid = false;
}
});