mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-14 12:06:29 +00:00
fixed more stupid code
This commit is contained in:
parent
90eae2669b
commit
a6bd05bca6
1 changed files with 2 additions and 2 deletions
|
@ -357,6 +357,6 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
||||||
text "Show this thread"
|
text "Show this thread"
|
||||||
|
|
||||||
proc renderEmbeddedTweet*(tweet: Tweet; cfg: Config; req: Request; prefs: Prefs; path: string): VNode =
|
proc renderEmbeddedTweet*(tweet: Tweet; cfg: Config; req: Request; prefs: Prefs; path: string): VNode =
|
||||||
return buildHtml(tdiv(class="tweet-embed")):
|
buildHtml(tdiv(class="tweet-embed")):
|
||||||
renderHead(prefs, cfg, req)
|
renderHead(prefs, cfg, req)
|
||||||
renderTweet(tweet, prefs, path)
|
renderTweet(tweet, prefs, path, mainTweet=true)
|
||||||
|
|
Loading…
Reference in a new issue