mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
remove unused lines
This commit is contained in:
@@ -50,14 +50,10 @@ module.controller('CategoryTreeCtrl', function($scope, $routeParams, $location,
|
|||||||
}
|
}
|
||||||
|
|
||||||
$scope.feedClicked = function(id) {
|
$scope.feedClicked = function(id) {
|
||||||
$scope.selectedType = 'feed';
|
|
||||||
$scope.selectedId = id;
|
|
||||||
$location.path('/feeds/view/feed/' + id);
|
$location.path('/feeds/view/feed/' + id);
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.categoryClicked = function(id) {
|
$scope.categoryClicked = function(id) {
|
||||||
$scope.selectedType = 'category';
|
|
||||||
$scope.selectedId = id;
|
|
||||||
$location.path('/feeds/view/category/' + id);
|
$location.path('/feeds/view/category/' + id);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user