Skip to content

Commit

Permalink
Fix googleapis#549 - Only show the overviews on the top-level.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeewax committed May 9, 2015
1 parent 9c90f19 commit 3f079ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/site/components/docs/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ angular
};

$scope.isActiveDoc = function(doc) {
return doc.toLowerCase() === $routeParams.module;
return !$routeParams.class && doc.toLowerCase() === $routeParams.module;
};

if ($routeParams.version === 'master') {
Expand Down

0 comments on commit 3f079ac

Please sign in to comment.