summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.js b/app.js
index d67f69b..fad93bb 100644
--- a/app.js
+++ b/app.js
@@ -29,6 +29,7 @@ let active_day = date_add(new Date(), -1);
let Post = {
oninit: function(vnode) {
let post = vnode.attrs.post;
+ if (post.reblog) post = post.reblog;
vnode.state.chuj = post.spoiler_text;
vnode.state.collapsed = post.spoiler_text.length > 0;
},