diff --git a/js/tabs.js b/js/tabs.js index 6d94ff9028..477043c15a 100644 --- a/js/tabs.js +++ b/js/tabs.js @@ -60,8 +60,11 @@ $index = 0; } // Change url to current tab - console.log($active); window.location.hash = $active.attr('href'); + if (location.hash) { + window.scrollTo(0, 0); + } + $content.show(); // Update indicator