1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-07-02 16:30:04 +01: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;
});
};