mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Focus replies when "Load more" clicked
This commit is contained in:
parent
f1529077d7
commit
c25b780c03
3 changed files with 5 additions and 5 deletions
|
|
@ -17,9 +17,9 @@ proc renderNewer*(query: Query; path: string): VNode =
|
|||
a(href=(path & url)):
|
||||
text "Load newest"
|
||||
|
||||
proc renderMore*(query: Query; minId: string): VNode =
|
||||
proc renderMore*(query: Query; minId: string; focus=""): VNode =
|
||||
buildHtml(tdiv(class="show-more")):
|
||||
a(href=(&"?{getQuery(query)}max_position={minId}")):
|
||||
a(href=(&"?{getQuery(query)}max_position={minId}{focus}")):
|
||||
text "Load more"
|
||||
|
||||
proc renderNoMore(): VNode =
|
||||
|
|
|
|||
Loading…
Reference in a new issue