client/posts: fix losing query after exiting edit

This commit is contained in:
rr- 2016-07-26 23:14:05 +02:00
parent 8de7541bc5
commit 6635b507f2

View file

@ -23,7 +23,7 @@
</article>
<article class='edit-post'>
<% 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>
<span class='vim-nav-hint'>Back to view mode</span>
</a>