Skip to content

Commit

Permalink
Merge pull request #575 from jgeewax/overview-only-on-toplevel
Browse files Browse the repository at this point in the history
Made the overview only appear on toplevel
  • Loading branch information
ryanseys committed May 11, 2015
2 parents 60de980 + 47bfb23 commit 244c0d5
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 244c0d5

Please sign in to comment.