Skip to content

Commit d0dfc5a

Browse files
committed
The TOC animation was removed
1 parent 91812f0 commit d0dfc5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ function setup_collapsible_TOC() {
5353
var el = $(this);
5454
if (el.text() == '[hide]') {
5555
Cookies.set('toc_state', 'hidden');
56-
el.parents('nav').find('tbody').slideUp();
56+
el.parents('nav').find('tbody').hide();
5757
el.text('[show]');
5858
}
5959
else {
6060
Cookies.set('toc_state', 'shown');
61-
el.parents('nav').find('tbody').slideDown();
61+
el.parents('nav').find('tbody').show();
6262
el.text('[hide]');
6363
}
6464

0 commit comments

Comments
 (0)