summaryrefslogtreecommitdiffstats
path: root/templates/html/navtree.js
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-09 13:38:20 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-05-09 13:38:20 (GMT)
commit1044fcc0598ae428f8e5c4cd25600fcee84158bd (patch)
tree834da111d14579b403574eca2acf6b36c878bec2 /templates/html/navtree.js
parenta9d29861fe6ad3c182d6cded2e3636a20086fc96 (diff)
downloadDoxygen-1044fcc0598ae428f8e5c4cd25600fcee84158bd.zip
Doxygen-1044fcc0598ae428f8e5c4cd25600fcee84158bd.tar.gz
Doxygen-1044fcc0598ae428f8e5c4cd25600fcee84158bd.tar.bz2
Reverted the layout change introduced in a9d29861fe6ad3c182d6cded2e3636a20086fc96
- Caused issues with existing projects that customized the page header to add own navigation tabs (e.g. CGAL).
Diffstat (limited to 'templates/html/navtree.js')
-rw-r--r--templates/html/navtree.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/html/navtree.js b/templates/html/navtree.js
index 254169f..2798368 100644
--- a/templates/html/navtree.js
+++ b/templates/html/navtree.js
@@ -326,7 +326,7 @@ function selectAndHighlight(hash,n)
$(n.itemDiv).attr('id','selected');
}
var topOffset=5;
- if (page_layout==1) {
+ if (typeof page_layout!=='undefined' && page_layout==1) {
topOffset+=$('#top').outerHeight();
}
if ($('#nav-tree-contents .item:first').hasClass('selected')) {