Commit 15de992b by Julian Beisenkötter

profile-picture fix

parent 87b1e0bd
...@@ -9,8 +9,7 @@ var baseAnalysis = function($, profile){ ...@@ -9,8 +9,7 @@ var baseAnalysis = function($, profile){
profile.industry = $("dl#demographics dd:nth-child(4)").text(); profile.industry = $("dl#demographics dd:nth-child(4)").text();
// Picture // Picture
profile.picture = $("profile-picture img").attr('src'); profile.picture = $(".profile-picture img")[0].attributes['data-delayed-url']._nodeValue;
return profile; return profile;
} }
module.exports = baseAnalysis; module.exports = baseAnalysis;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment