Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix TOC toggle
  • Loading branch information
zoffixznet committed Jun 29, 2016
1 parent 5a57aee commit 5f1061c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/js/main.js
Expand Up @@ -47,7 +47,7 @@ function setup_collapsible_TOC() {
+ ( state == 'hidden' ? 'show' : 'hide')
+ ']</a></h2>'
)
.find('a')
.find('> h2 > a')
.click(function() {
var el = $(this);
if (el.text() == '[hide]') {
Expand All @@ -63,4 +63,4 @@ function setup_collapsible_TOC() {

return false;x
});
}
}

0 comments on commit 5f1061c

Please sign in to comment.