client/posts: fix losing query after exiting edit
This commit is contained in:
parent
8de7541bc5
commit
6635b507f2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
</article>
|
</article>
|
||||||
<article class='edit-post'>
|
<article class='edit-post'>
|
||||||
<% if (ctx.editMode) { %>
|
<% if (ctx.editMode) { %>
|
||||||
<a href='/post/<%- encodeURIComponent(ctx.post.id) %>'>
|
<a href='<%= ctx.getPostUrl(ctx.post.id, ctx.parameters) %>'>
|
||||||
<i class='fa fa-reply'></i>
|
<i class='fa fa-reply'></i>
|
||||||
<span class='vim-nav-hint'>Back to view mode</span>
|
<span class='vim-nav-hint'>Back to view mode</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue