mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-01 02:40:56 +00:00
Revert "Update tweet tooltip display code"
This reverts commit 2ecdf8d8d6a183ad7c03da5cca3497fcc01e8e17.
This commit is contained in:
parent
24693325ae
commit
93d93b54a3
1 changed files with 2 additions and 15 deletions
|
@ -95,21 +95,8 @@ var FFZ = window.FrankerFaceZ,
|
||||||
|
|
||||||
|
|
||||||
} else if ( link_data.type == "twitter" ) {
|
} else if ( link_data.type == "twitter" ) {
|
||||||
/*
|
tooltip = "<b>Tweet By: " + utils.sanitize(link_data.user) + "</b><hr>";
|
||||||
Display Guidelines - https://about.twitter.com/company/display-requirements
|
tooltip += utils.sanitize(link_data.tweet);
|
||||||
[logo] Tweet
|
|
||||||
Ryan Greenberg (@greenberg) 24 Apr 2013
|
|
||||||
"Beware," wrote the prophets of San Francisco, "for what the sun giveth the wind taketh away."
|
|
||||||
*/
|
|
||||||
var ttparts = ["<span class='twitter_logo'></span> Tweet<br>",
|
|
||||||
utils.sanitize(link_data.user_display),
|
|
||||||
" (<b>@" + utils.sanitize(link_data.user) + "</b>) "];
|
|
||||||
var timestamp = utils.parse_date(link_data.timestamp);
|
|
||||||
if ( timestamp )
|
|
||||||
ttparts.push(utils.date_string(timestamp));
|
|
||||||
ttparts.push("<hr>");
|
|
||||||
ttparts.push(link_data.tweet_html || utils.sanitize(link_data.tweet));
|
|
||||||
tooltip = ttparts.join('');
|
|
||||||
|
|
||||||
|
|
||||||
} else if ( link_data.type == "reputation" ) {
|
} else if ( link_data.type == "reputation" ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue