Browse Source

display longer posts (>140 characters)

readme-update
Miguel Freitas 9 years ago
parent
commit
3023b90c8a
  1. 6
      js/twister_formatpost.js

6
js/twister_formatpost.js

@ -66,14 +66,14 @@ function postToElem(post, kind, promoted) {
username = userpost.n; username = userpost.n;
k = userpost.k; k = userpost.k;
time = userpost.time; time = userpost.time;
msg = userpost.msg; msg = userpost.msg + (userpost.msg2 || '');
content_to_rt = $.toJSON(userpost); content_to_rt = $.toJSON(userpost);
content_to_sigrt = post.sig_userpost; content_to_sigrt = post.sig_userpost;
} else { } else {
username = rt.n; username = rt.n;
k = rt.k; k = rt.k;
time = rt.time; time = rt.time;
msg = rt.msg; msg = rt.msg + (rt.msg2 || '');
content_to_rt = $.toJSON(rt); content_to_rt = $.toJSON(rt);
content_to_sigrt = userpost.sig_rt; content_to_sigrt = userpost.sig_rt;
} }
@ -82,7 +82,7 @@ function postToElem(post, kind, promoted) {
username = userpost.n; username = userpost.n;
k = userpost.k; k = userpost.k;
time = userpost.time; time = userpost.time;
msg = userpost.msg; msg = userpost.msg + (userpost.msg2 || '');
content_to_rt = $.toJSON(userpost); content_to_rt = $.toJSON(userpost);
content_to_sigrt = post.sig_userpost; content_to_sigrt = post.sig_userpost;
} }

Loading…
Cancel
Save