diff --git a/assets/javascripts/templates/sidebar_tmpl.coffee b/assets/javascripts/templates/sidebar_tmpl.coffee index 4964c5ed..6b03a26b 100644 --- a/assets/javascripts/templates/sidebar_tmpl.coffee +++ b/assets/javascripts/templates/sidebar_tmpl.coffee @@ -56,7 +56,7 @@ templates.sidebarDisabledList = (html) -> """
#{html}
""" templates.sidebarDisabledVersionedDoc = (doc, versions) -> - """#{doc.name}
#{versions}
""" + """#{doc.name}
#{versions}
""" templates.sidebarPickerNote = """
Tip: for faster and better search results, select only the docs you need.
diff --git a/assets/javascripts/views/sidebar/doc_list.coffee b/assets/javascripts/views/sidebar/doc_list.coffee index c0ae1acc..02f60598 100644 --- a/assets/javascripts/views/sidebar/doc_list.coffee +++ b/assets/javascripts/views/sidebar/doc_list.coffee @@ -130,6 +130,7 @@ class app.views.DocList extends app.View return openDoc: (doc) -> + @listFold.open @find("[data-slug='#{doc.slug_without_version}']") if app.disabledDocs.contains(doc) and doc.version @listFold.open @find("[data-slug='#{doc.slug}']") return