diff options
Diffstat (limited to 'client/js/controllers/post_controller.js')
| -rw-r--r-- | client/js/controllers/post_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/js/controllers/post_controller.js b/client/js/controllers/post_controller.js index 7644e26..384643a 100644 --- a/client/js/controllers/post_controller.js +++ b/client/js/controllers/post_controller.js @@ -45,8 +45,8 @@ class PostController { this._view = new PostView({ post: post, editMode: editMode, - nextPostId: aroundResponse.next ? aroundResponse.next.id : null, prevPostId: aroundResponse.prev ? aroundResponse.prev.id : null, + nextPostId: aroundResponse.next ? aroundResponse.next.id : null, canEditPosts: api.hasPrivilege('posts:edit'), canDeletePosts: api.hasPrivilege('posts:delete'), canFeaturePosts: api.hasPrivilege('posts:feature'), |