fix url display in location details

This commit is contained in:
Gwendolyn 2023-12-23 20:01:40 +01:00
parent 7d47d945bc
commit 59e02a90af

View file

@ -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);