Fix wtf control flow in signup.js

(imported from commit d4cb46cda138c542884e0373b4498b4f7890ef51)
This commit is contained in:
Keegan McAllister 2012-10-03 17:31:01 -04:00
parent 5a6247288a
commit d18a79ad07
1 changed files with 0 additions and 1 deletions

View File

@ -8,7 +8,6 @@ $.validator.addMethod("fromDomain", function (value, element, param) {
console.log(value);
var splitted = value.split("@");
var tld = splitted[splitted.length - 1];
return false;
return $.inArray(tld, tld_list) !== -1;
},
"Please use your company email address to sign up. Otherwise, we wont be able to connect you with your coworkers.");