diff --git a/gettingstarted.html b/gettingstarted.html
index 6136a94..3454310 100644
--- a/gettingstarted.html
+++ b/gettingstarted.html
@@ -259,7 +259,7 @@
$(function(){
function scrollToHash() {
var hash = document.location.hash,
- target = $('.column-content a[href^=' + hash + ']'),
+ target = $('.column-content h3 a[href^=' + hash + ']'),
position;
if (target.length) {
position = target.offset().top - 60;
diff --git a/reference.html b/reference.html
index ed400e5..7478fa6 100644
--- a/reference.html
+++ b/reference.html
@@ -6669,7 +6669,7 @@ chart = chart.destroy();
$(function(){
function scrollToHash() {
var hash = document.location.hash,
- target = $('.column-content a[href^=' + hash + ']'),
+ target = $('.column-content h3 a[href^=' + hash + ']'),
position;
if (target.length) {
position = target.offset().top - 60;