empty list: -
This commit is contained in:
parent
971a9c2f8b
commit
ba651b59c9
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ c3nav = {
|
||||||
elem.append($('<dt>').text(line[0]));
|
elem.append($('<dt>').text(line[0]));
|
||||||
if (typeof line[1] === 'string') {
|
if (typeof line[1] === 'string') {
|
||||||
elem.append($('<dd>').text(line[1]));
|
elem.append($('<dd>').text(line[1]));
|
||||||
} else if (line[1] === null) {
|
} else if (line[1] === null || line.length === 0) {
|
||||||
elem.append($('<dd>').text('-'));
|
elem.append($('<dd>').text('-'));
|
||||||
} else {
|
} else {
|
||||||
sublocations = (line[1].length === undefined) ? [line[1]] : line[1];
|
sublocations = (line[1].length === undefined) ? [line[1]] : line[1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue