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-title"):
|
||||
tdiv(class="thread-title"):
|
||||
a(href=url):
|
||||
a(href=url, onClick=anchorCB):
|
||||
verbatim(searchResult.threadTitle)
|
||||
tdiv(class="post-username"):
|
||||
text searchResult.author.name
|
||||
|
|
@ -67,7 +67,7 @@ when defined(js):
|
|||
# TODO: History and replying to.
|
||||
let title = searchResult.creation.fromUnix().local.
|
||||
format("MMM d, yyyy HH:mm")
|
||||
a(href=url, title=title):
|
||||
a(href=url, title=title, onClick=anchorCB):
|
||||
text renderActivity(searchResult.creation)
|
||||
tdiv(class="post-content"):
|
||||
verbatim(searchResult.postContent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue