Browse Source

add missed check for userpost.rt.msg emptiness in postToElem()

readme-update
Simon Grim 9 years ago
parent
commit
9fcadc9634
  1. 2
      js/twister_formatpost.js

2
js/twister_formatpost.js

@ -60,7 +60,7 @@ function postToElem(post, kind, promoted) { @@ -60,7 +60,7 @@ function postToElem(post, kind, promoted) {
if (post.sig_wort)
userpost.sig_wort = post.sig_wort;
if (userpost.rt) {
if (userpost.rt && userpost.rt.msg) {
rt = userpost.rt;
if (userpost.msg) {
username = userpost.n;

Loading…
Cancel
Save