diff --git a/assets/_src/js/vendor/toc.js b/assets/_src/js/vendor/toc.js index 2961171..1beb853 100644 --- a/assets/_src/js/vendor/toc.js +++ b/assets/_src/js/vendor/toc.js @@ -25,11 +25,7 @@ var hash = el.attr('id'); if (hash.length) { - if (history.pushState) { - history.pushState(null, null, '#' + hash); - } else { - document.location.hash = hash; - } + document.location.hash = hash; } el.trigger('smoothScrollerComplete');