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 += '
';
} else {
el += '
';
}
diff --git a/source/js/plugins/timeline.js b/source/js/plugins/timeline.js
index 48dc474..86cc993 100644
--- a/source/js/plugins/timeline.js
+++ b/source/js/plugins/timeline.js
@@ -97,9 +97,9 @@ const StellarTimeline = {
}
}
}
- if (item.comments) {
+ if (item.comments != null) {
cell += '';
}