Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remainder code for animation was deleted
  • Loading branch information
Altai-man committed Jul 10, 2016
1 parent 1f146ec commit 219208b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions html/js/main.js
Expand Up @@ -32,11 +32,6 @@ function setup_collapsible_TOC() {
var state;
if ( ! $('nav.indexgroup') ) { return; }

// fix for jumpy .slideDown() effect
$('nav.indexgroup > ol').each( function(){
$(this).css( 'height', $(this).height() );
});

state = Cookies.get('toc_state') || 'shown';
if ( state == 'hidden' ) {
$('nav.indexgroup > ol').hide();
Expand Down

0 comments on commit 219208b

Please sign in to comment.