From 3023b90c8a4d9cff646a439e7ba7ce8d7254c967 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 25 Mar 2016 20:39:36 -0300 Subject: [PATCH] display longer posts (>140 characters) --- js/twister_formatpost.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index 2210b6d..7412c8e 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -66,14 +66,14 @@ function postToElem(post, kind, promoted) { username = userpost.n; k = userpost.k; time = userpost.time; - msg = userpost.msg; + msg = userpost.msg + (userpost.msg2 || ''); content_to_rt = $.toJSON(userpost); content_to_sigrt = post.sig_userpost; } else { username = rt.n; k = rt.k; time = rt.time; - msg = rt.msg; + msg = rt.msg + (rt.msg2 || ''); content_to_rt = $.toJSON(rt); content_to_sigrt = userpost.sig_rt; } @@ -82,7 +82,7 @@ function postToElem(post, kind, promoted) { username = userpost.n; k = userpost.k; time = userpost.time; - msg = userpost.msg; + msg = userpost.msg + (userpost.msg2 || ''); content_to_rt = $.toJSON(userpost); content_to_sigrt = post.sig_userpost; }