diff --git a/client/js/views/post_main_view.js b/client/js/views/post_main_view.js index 452d63f..d303c21 100644 --- a/client/js/views/post_main_view.js +++ b/client/js/views/post_main_view.js @@ -69,12 +69,12 @@ class PostMainView { }); keyboard.bind(['a', 'left'], () => { if (ctx.prevPostId) { - router.show(uri.formatClientLink('post', ctx.prevPostId)); + router.show(ctx.getPostUrl(ctx.prevPostId, ctx.parameters)); } }); keyboard.bind(['d', 'right'], () => { if (ctx.nextPostId) { - router.show(uri.formatClientLink('post', ctx.nextPostId)); + router.show(ctx.getPostUrl(ctx.nextPostId, ctx.parameters)); } }); }