client/posts: fix losing query after exiting edit
This commit is contained in:
		
							parent
							
								
									8de7541bc5
								
							
						
					
					
						commit
						6635b507f2
					
				@ -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>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user