Avoid "null" for caption.
This commit is contained in:
parent
955d7632f8
commit
08e16b02be
1 changed files with 3 additions and 1 deletions
|
|
@ -112,7 +112,9 @@ $D(function() {
|
|||
+ "</div>\n");
|
||||
|
||||
var captionP = $("<p id=\"" + entry.name + "\" class=\"caption\"></p>\n");
|
||||
if (entry.caption) {
|
||||
captionP.text(entry.caption);
|
||||
}
|
||||
captionP.appendTo(gridDiv);
|
||||
|
||||
gridDiv.appendTo('body');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue