mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-07-05 01:20:06 +01:00
Remove invalid object model reference.
This commit is contained in:
parent
0bebd87bd6
commit
30b6bc4d80
|
@ -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;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user