summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-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