From 18d4c79faeea3c54296ba7ec7c2405c503eae40c Mon Sep 17 00:00:00 2001 From: Jeena Paradies Date: Tue, 15 Jan 2013 19:06:12 +0100 Subject: [PATCH] fixed #109 --- WebKit/scripts/helper/Core.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index 4a79d10..21632c5 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -673,11 +673,12 @@ function(jQuery, Paths, URI, HostApp, Cache) { (function(mention) { // need this closure var profile = function(profile) { + var basic = profile["https://tent.io/types/info/basic/v0.1.0"]; - if (profile && basic) { + if (profile) { var name = mention.text; - if (basic.name) { + if (basic && basic.name) { name = basic.name; }