From 8b8da49d79b915dc79ab4f388c9223e889237d65 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 14 Sep 2014 20:33:40 +0200 Subject: bump version and depend on 7.0.3 because css will be backported --- js/gui/KeyboardShortcuts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/gui') diff --git a/js/gui/KeyboardShortcuts.js b/js/gui/KeyboardShortcuts.js index 3b3634333..b5944bb26 100644 --- a/js/gui/KeyboardShortcuts.js +++ b/js/gui/KeyboardShortcuts.js @@ -76,7 +76,8 @@ // if the previous element is a folder we have to go down var childFeed = getChildFeed(previousElement); if (previousElement.hasClass('folder') && childFeed.length !== 0) { - previousElement = childFeed.prev('li:visible'); + // fixme: last child + previousElement = childFeed.prev('li:visible:last-child'); } previousElement.children('a:visible').trigger('click'); -- cgit v1.2.3