mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use old api to optimize photo rails
This commit is contained in:
parent
7e40af5611
commit
77da2e32c6
7 changed files with 38 additions and 41 deletions
|
|
@ -87,7 +87,7 @@ proc genDate*(pref, state: string): VNode =
|
|||
|
||||
proc genImg*(url: string; class=""): VNode =
|
||||
buildHtml():
|
||||
img(src=getPicUrl(url), class=class, alt="Image")
|
||||
img(src=getPicUrl(url), class=class, alt="")
|
||||
|
||||
proc getTabClass*(query: Query; tab: QueryKind): string =
|
||||
result = "tab-item"
|
||||
|
|
|
|||
Loading…
Reference in a new issue