diff --git a/scripts/tags/timeline.js b/scripts/tags/timeline.js index 7ba8c9a..ae5c4cf 100644 --- a/scripts/tags/timeline.js +++ b/scripts/tags/timeline.js @@ -40,7 +40,9 @@ function postTimeline(args, content) { var el = ''; if (args.api && args.api.length > 0) { - el += '
'; + el += '
'; - cell += '💬 ' + item.comments + ''; + cell += '💬 ' + (item.comments || 0) + ''; cell += ''; }