1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 09:56:22 +00:00

Remove invalid object model reference.

This commit is contained in:
devlinjd 2015-11-19 01:47:23 -05:00
parent 0bebd87bd6
commit 30b6bc4d80

View File

@ -246,7 +246,7 @@ FRESH character/resume sheet representation.
*/
FreshSheet.prototype.hasProfile = function( socialNetwork ) {
socialNetwork = socialNetwork.trim().toLowerCase();
return this.basics.profiles && _.some( this.basics.profiles, function(p) {
return this.social && _.some( this.social, function(p) {
return p.network.trim().toLowerCase() === socialNetwork;
});
};