fixed #109
This commit is contained in:
parent
2d64d1385a
commit
18d4c79fae
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue