diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-09 13:38:20 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-09 13:38:20 (GMT) |
commit | 1044fcc0598ae428f8e5c4cd25600fcee84158bd (patch) | |
tree | 834da111d14579b403574eca2acf6b36c878bec2 /templates/html/navtree.js | |
parent | a9d29861fe6ad3c182d6cded2e3636a20086fc96 (diff) | |
download | Doxygen-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.js | 2 |
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')) { |