summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-10 20:20:54 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-10 20:20:54 (GMT)
commit994b081aac309954a7984929329fbcd5c5cf8883 (patch)
treefe12b6a8b2e721b46ef87c99f7862af9501710db /templates
parenta0c75e4c7a7aef5a1e8cec56a1f909eac44af3e9 (diff)
downloadDoxygen-994b081aac309954a7984929329fbcd5c5cf8883.zip
Doxygen-994b081aac309954a7984929329fbcd5c5cf8883.tar.gz
Doxygen-994b081aac309954a7984929329fbcd5c5cf8883.tar.bz2
issue #7412: HTML: Opening a reference link in a new tab does not scroll to the content
Diffstat (limited to 'templates')
-rw-r--r--templates/html/resize.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/html/resize.js b/templates/html/resize.js
index f5291d9..a0bb5f4 100644
--- a/templates/html/resize.js
+++ b/templates/html/resize.js
@@ -91,6 +91,7 @@ function initResizable()
}
collapsedWidth=width;
}
+ (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView();
}
function collapseExpand()