diff --git a/_src/_assets/javascripts/bigchain/smoothscroll.js b/_src/_assets/javascripts/bigchain/smoothscroll.js index 326af1d..1c25ac7 100644 --- a/_src/_assets/javascripts/bigchain/smoothscroll.js +++ b/_src/_assets/javascripts/bigchain/smoothscroll.js @@ -21,7 +21,7 @@ var SmoothScroll = (function(w, d) { return _config.win.width() >= _config.minWidth; } - $('a[href*=#]:not([href=#]):not(.nav-tabs a[href*=#])').click(function(e) { + $("a[href*='#']").not("[href='#'], .nav a[href*='#']").click(function(e) { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']');