|
|
@@ -272,7 +272,7 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
|
|
divClass = "thread-last " & class
|
|
|
|
|
|
if not tweet.available:
|
|
|
- return buildHtml(tdiv(class=divClass & "unavailable timeline-item")):
|
|
|
+ return buildHtml(tdiv(class=divClass & "unavailable timeline-item", data-username=tweet.user.username)):
|
|
|
tdiv(class="unavailable-box"):
|
|
|
if tweet.tombstone.len > 0:
|
|
|
text tweet.tombstone
|
|
|
@@ -294,7 +294,7 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
|
|
tweet = tweet.retweet.get
|
|
|
retweet = fullTweet.user.fullname
|
|
|
|
|
|
- buildHtml(tdiv(class=("timeline-item " & divClass))):
|
|
|
+ buildHtml(tdiv(class=("timeline-item " & divClass), data-username=tweet.user.username)):
|
|
|
if not mainTweet:
|
|
|
a(class="tweet-link", href=getLink(tweet))
|
|
|
|