mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
Ensure keyboard navigation matches custom post sorting.
This commit is contained in:
parent
d35598457b
commit
ae56c8a8e2
@ -38,7 +38,7 @@ var PostsRoute = Ember.Route.extend(SimpleAuth.AuthenticatedRouteMixin, Shortcut
|
|||||||
|
|
||||||
stepThroughPosts: function (step) {
|
stepThroughPosts: function (step) {
|
||||||
var currentPost = this.get('controller.currentPost'),
|
var currentPost = this.get('controller.currentPost'),
|
||||||
posts = this.get('controller.model'),
|
posts = this.get('controller.arrangedContent'),
|
||||||
length = posts.get('length'),
|
length = posts.get('length'),
|
||||||
newPosition;
|
newPosition;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user