diff options
| author | Jordan Wiens <github@psifertex.com> | 2025-10-28 22:47:10 -0400 |
|---|---|---|
| committer | Jordan <github@psifertex.com> | 2025-11-06 10:32:46 -0500 |
| commit | adc3978f754b3a00ad429b95d967b45e76b814af (patch) | |
| tree | fc3ad8e4e8de34b9ac9880905bf55666ce8830dc /api-docs/cppdocs/header.html | |
| parent | 539a006520bc09014bb918594183bae5b78129a0 (diff) | |
expand items when selected and fix highlighting of selected tree items
Diffstat (limited to 'api-docs/cppdocs/header.html')
| -rw-r--r-- | api-docs/cppdocs/header.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/api-docs/cppdocs/header.html b/api-docs/cppdocs/header.html index a73a36bb..aa33c348 100644 --- a/api-docs/cppdocs/header.html +++ b/api-docs/cppdocs/header.html @@ -26,6 +26,28 @@ $mathjax <link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" /> $extrastylesheet <script type="text/javascript" src="$relpath^binaryninja-darkmode.js"></script> +<script type="text/javascript"> +$(document).ready(function() { + setTimeout(function() { + var selected = document.querySelector('#nav-tree .selected'); + if (selected) { + var parentLi = selected.closest('li'); + if (parentLi) { + var arrow = parentLi.querySelector('.arrow'); + var arrowhead = arrow ? arrow.querySelector('.arrowhead.closed') : null; + if (arrowhead) { + arrow.click(); + setTimeout(function() { + if (document.activeElement) { + document.activeElement.blur(); + } + }, 0); + } + } + } + }, 150); +}); +</script> </head> <body> <!--BEGIN FULL_SIDEBAR--> |
