Fix rendering empty message

This commit is contained in:
cel
2017-10-12 14:39:55 -10:00
parent a0e0f4409b
commit a1c6e510fb
+1
View File
@@ -394,6 +394,7 @@ function formatDate(date) {
function render(opts, id, c) { function render(opts, id, c) {
var base = opts.base; var base = opts.base;
if (!c) return
if (c.type === "post") { if (c.type === "post") {
var channel = c.channel var channel = c.channel
? h('div.top-right', ? h('div.top-right',