Don't reload page when navigating to search result post.
This commit is contained in:
parent
3e03ffe76d
commit
6027a4fab0
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ when defined(js):
|
||||||
tdiv(class="post-main"):
|
tdiv(class="post-main"):
|
||||||
tdiv(class="post-title"):
|
tdiv(class="post-title"):
|
||||||
tdiv(class="thread-title"):
|
tdiv(class="thread-title"):
|
||||||
a(href=url):
|
a(href=url, onClick=anchorCB):
|
||||||
verbatim(searchResult.threadTitle)
|
verbatim(searchResult.threadTitle)
|
||||||
tdiv(class="post-username"):
|
tdiv(class="post-username"):
|
||||||
text searchResult.author.name
|
text searchResult.author.name
|
||||||
|
|
@ -67,7 +67,7 @@ when defined(js):
|
||||||
# TODO: History and replying to.
|
# TODO: History and replying to.
|
||||||
let title = searchResult.creation.fromUnix().local.
|
let title = searchResult.creation.fromUnix().local.
|
||||||
format("MMM d, yyyy HH:mm")
|
format("MMM d, yyyy HH:mm")
|
||||||
a(href=url, title=title):
|
a(href=url, title=title, onClick=anchorCB):
|
||||||
text renderActivity(searchResult.creation)
|
text renderActivity(searchResult.creation)
|
||||||
tdiv(class="post-content"):
|
tdiv(class="post-content"):
|
||||||
verbatim(searchResult.postContent)
|
verbatim(searchResult.postContent)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue