summaryrefslogtreecommitdiffstats
path: root/js/build/app.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/build/app.js
parent8668848e81e05f63d23ca699f6c0fae39ea58ff2 (diff)
bump version and depend on 7.0.3 because css will be backported
Diffstat (limited to 'js/build/app.js')
-rw-r--r--js/build/app.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/build/app.js b/js/build/app.js
index 01ae9a5a8..ee0cbfc22 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -1667,7 +1667,7 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL)
};
var getChildFeed = function (element) {
- return element.children('ul').children('li:visible');
+ return element.children('ul').children('.feed:visible');
};
var nextFeed = function (navigationArea) {
@@ -1700,7 +1700,8 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL)
// 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');