summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron McEfee <cameron@github.com>2011-05-19 14:51:57 -0700
committerCameron McEfee <cameron@github.com>2011-05-19 14:51:57 -0700
commit7c849bda92473fce7f736792e0ae9e72fe02ab58 (patch)
tree204c3d14e35bac477ad30544aeaf53c289b9e5b0
parent38ca1e03b3cc74c010896ca2cd269ece7b29ea23 (diff)
Fix bug where the wrong category/closes
-rw-r--r--shared/js/documentation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/js/documentation.js b/shared/js/documentation.js
index 842b009..e973604 100644
--- a/shared/js/documentation.js
+++ b/shared/js/documentation.js
@@ -4,9 +4,9 @@ $(function() {
helpList = $('#js-help-sidebar .js-topic'),
firstOccurance = true
- $('#js-help-sidebar .js-guides').each(function(){
+ $('#js-help-sidebar .js-topic').each(function(){
if($(this).find('.disable').length == 0 || firstOccurance == false){
- $(this).children().hide()
+ $(this).find('.js-guides').children().hide()
} else {
activeItem = $(this).index()
firstOccurance = false