summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-04-13 07:22:08 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-04-13 07:22:08 (GMT)
commita1b07ad0e92e4526c9ba1711d39f06b58c2a7459 (patch)
tree27f894681430b733eb8711442a4c9312b7cc3535 /templates
parent6c4e14b2cedc333e8989a38a4cd2726b168bcbaf (diff)
downloadDoxygen-a1b07ad0e92e4526c9ba1711d39f06b58c2a7459.zip
Doxygen-a1b07ad0e92e4526c9ba1711d39f06b58c2a7459.tar.gz
Doxygen-a1b07ad0e92e4526c9ba1711d39f06b58c2a7459.tar.bz2
Fixed javascript warning in resize.jsRelease_1_8_18
Diffstat (limited to 'templates')
-rw-r--r--templates/html/resize.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/html/resize.js b/templates/html/resize.js
index f04a51e..e1ad0fe 100644
--- a/templates/html/resize.js
+++ b/templates/html/resize.js
@@ -92,7 +92,9 @@ function initResizable()
}
collapsedWidth=width;
}
- (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView();
+ if (location.hash.slice(1)) {
+ (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView();
+ }
}
function collapseExpand()