diff options
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')) { |