diff options
Diffstat (limited to 'tools/droiddoc/templates-sdk/customization.cs')
-rw-r--r-- | tools/droiddoc/templates-sdk/customization.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/droiddoc/templates-sdk/customization.cs b/tools/droiddoc/templates-sdk/customization.cs index 0cb85e8..9ec1f44 100644 --- a/tools/droiddoc/templates-sdk/customization.cs +++ b/tools/droiddoc/templates-sdk/customization.cs @@ -151,8 +151,9 @@ def:default_left_nav() ?> if (!isMobile) { $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav"); chooseDefaultNav(); - if ($("#nav-tree").is(':visible')) init_navtree("nav-tree", "<?cs var:toroot ?>", NAVTREE_DATA); - else { + if ($("#nav-tree").is(':visible')) { + init_default_navtree("<?cs var:toroot ?>"); + } else { addLoadEvent(function() { scrollIntoView("packages-nav"); scrollIntoView("classes-nav"); |