diff --git a/assets/js/script.js b/assets/js/script.js index d377d56..b642fdf 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -130,13 +130,7 @@ // table of contents $('h3, h4, h5', '.content').each(function () { - $(this).append(' #'); - - $(this).hover(function(){ - $(this).find('a').addClass('active'); - }, function(){ - $(this).find('a').removeClass('active'); - }); + $(this).append('#'); });