diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-10 20:20:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-10 20:20:54 (GMT) |
commit | 994b081aac309954a7984929329fbcd5c5cf8883 (patch) | |
tree | fe12b6a8b2e721b46ef87c99f7862af9501710db /templates/html | |
parent | a0c75e4c7a7aef5a1e8cec56a1f909eac44af3e9 (diff) | |
download | Doxygen-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/html')
-rw-r--r-- | templates/html/resize.js | 1 |
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() |