Loading js/toc.js +2 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,8 @@ .each(function () { $(this).addClass('active') }); // Make the correct focus point in the HTML after changing the 'active' class in a header link. $("html, body").animate({scrollTop: ($(hash).offset().top - 20) + 'px'}, "fast"); } // @todo: what is correct Drupal way to bind to window events? Loading Loading
js/toc.js +2 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,8 @@ .each(function () { $(this).addClass('active') }); // Make the correct focus point in the HTML after changing the 'active' class in a header link. $("html, body").animate({scrollTop: ($(hash).offset().top - 20) + 'px'}, "fast"); } // @todo: what is correct Drupal way to bind to window events? Loading