|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
// format "userpost" to html element
|
|
|
|
|
// kind = "original"/"ancestor"/"descendant"
|
|
|
|
|
function postToElem( post, kind ) { |
|
|
|
|
function postToElem( post, kind, promoted ) { |
|
|
|
|
/* |
|
|
|
|
"userpost" : |
|
|
|
|
{ |
|
|
|
@ -116,6 +116,9 @@ function postToElem( post, kind ) {
@@ -116,6 +116,9 @@ function postToElem( post, kind ) {
|
|
|
|
|
retweetedByElem.text('@'+retweeted_by); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (typeof(promoted) !== 'undefined' && promoted) |
|
|
|
|
elem.find('.post-propagate').remove(); |
|
|
|
|
|
|
|
|
|
return elem; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|