fix url display in location details
This commit is contained in:
parent
7d47d945bc
commit
59e02a90af
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ c3nav = {
|
|||
elem.append($('<dd>').text(line[1]));
|
||||
} else if (line[1] === null || line.length === 0) {
|
||||
elem.append($('<dd>').text('-'));
|
||||
} else if (line[1].length === undefined && line[2].url !== undefined) {
|
||||
} else if (line[0].length === undefined && line[1].url !== undefined) {
|
||||
loclist = $('<dd>');
|
||||
loclist.append($('<a>').attr('href', line[2].url).attr('target', '_blank').text(line[2].title));
|
||||
elem.append(loclist);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue