summaryrefslogtreecommitdiffstats
path: root/js/controller
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-31 02:16:57 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-31 02:16:57 +0200
commit123e146215f3d59c9b197d7eb9e739f058ee3719 (patch)
tree56da4be2480fb02ef42ec8553f9f61fcfc3a44e2 /js/controller
parent2defc2863ecc63e224648a02d5e5dbf92344c337 (diff)
fix active feed and folder markup
Diffstat (limited to 'js/controller')
-rw-r--r--js/controller/NavigationController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index d91f14d88..8307b0e75 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -100,13 +100,13 @@ function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource,
this.isFolderActive = (folderId) => {
return $route.current &&
$route.current.$$route.type === FEED_TYPE.FOLDER &&
- $route.current.params.id === folderId;
+ $route.current.params.id === folderId + '';
};
this.isFeedActive = (feedId) => {
return $route.current &&
$route.current.$$route.type === FEED_TYPE.FEED &&
- $route.current.params.id === feedId;
+ $route.current.params.id === feedId + '';
};
// TBD