From 07329d33a44d7609417b165188ad78f0fdc6f409 Mon Sep 17 00:00:00 2001 From: rr- Date: Mon, 6 Jun 2016 20:57:22 +0200 Subject: client/posts: add post view (without comments yet) --- client/html/post_content.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/html/post_content.tpl') diff --git a/client/html/post_content.tpl b/client/html/post_content.tpl index 41be1bd..255f076 100644 --- a/client/html/post_content.tpl +++ b/client/html/post_content.tpl @@ -12,7 +12,7 @@ <% } else if (ctx.post.type === 'video') { %> - <% if (ctx.post.flags.includes('loop')) { %> + <% if ((ctx.post.flags || []).includes('loop')) { %>