summaryrefslogtreecommitdiffstats
path: root/js/gui/KeyboardShortcuts.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-14 20:33:40 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-14 20:33:40 +0200
commit8b8da49d79b915dc79ab4f388c9223e889237d65 (patch)
tree0959da266d56108570d68df0b320ca48237e5f43 /js/gui/KeyboardShortcuts.js
parent8668848e81e05f63d23ca699f6c0fae39ea58ff2 (diff)
bump version and depend on 7.0.3 because css will be backported
Diffstat (limited to 'js/gui/KeyboardShortcuts.js')
-rw-r--r--js/gui/KeyboardShortcuts.js3
1 files changed, 2 insertions, 1 deletions
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');