mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-02-04 19:14:14 +00:00
add missed check for userpost.rt.msg emptiness in postToElem()
This commit is contained in:
parent
a26ff53c76
commit
9fcadc9634
@ -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…
x
Reference in New Issue
Block a user