mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00: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 ) {
|
FreshSheet.prototype.hasProfile = function( socialNetwork ) {
|
||||||
socialNetwork = socialNetwork.trim().toLowerCase();
|
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;
|
return p.network.trim().toLowerCase() === socialNetwork;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user