diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 15:54:32 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 15:54:32 +0100 |
commit | 676b8dd18742875ae07827792ed88d2b5bb3afb7 (patch) | |
tree | cd4368012b40ff6fa28cefb85e7ab49c729041ca /js/controller/NavigationController.js | |
parent | 62b6bd485009b5dbb85b50e634ea94aa177d8d42 (diff) |
first stab at recommended sites
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r-- | js/controller/NavigationController.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index d0f9c526e..5f76eaddb 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -112,6 +112,11 @@ function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, $route.current.$$route.type === FEED_TYPE.STARRED; }; + this.isExploreActive = function () { + return $route.current && + $route.current.$$route.type === FEED_TYPE.EXPLORE; + }; + this.isFolderActive = function (folderId) { return $route.current && $route.current.$$route.type === FEED_TYPE.FOLDER && |