mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-12 21:41:02 +00:00
add handling of new userpost property sig_wort
finally
This commit is contained in:
parent
5da5cde79a
commit
f251cf0949
@ -293,6 +293,8 @@ function newRtMsg(postData, msg) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
userpost.sig_wort = undefined;
|
||||||
|
|
||||||
var rtObj = {sig_userpost: sig_userpost, userpost: userpost};
|
var rtObj = {sig_userpost: sig_userpost, userpost: userpost};
|
||||||
|
|
||||||
if (typeof lastPostId !== 'undefined') {
|
if (typeof lastPostId !== 'undefined') {
|
||||||
|
@ -70,6 +70,10 @@ function postToElem(post, kind, promoted) {
|
|||||||
|
|
||||||
// Obtain data from userpost
|
// Obtain data from userpost
|
||||||
var userpost = post.userpost;
|
var userpost = post.userpost;
|
||||||
|
|
||||||
|
if (post.sig_wort)
|
||||||
|
userpost.sig_wort = post.sig_wort;
|
||||||
|
|
||||||
if (userpost.rt) {
|
if (userpost.rt) {
|
||||||
rt = userpost.rt;
|
rt = userpost.rt;
|
||||||
if (userpost.msg) {
|
if (userpost.msg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user