(button, e)
| 101 | // ============================================================================ |
| 102 | |
| 103 | function handleNavigationClick(button, e) { |
| 104 | e.stopPropagation(); |
| 105 | |
| 106 | const navData = button.getAttribute('data-nav'); |
| 107 | if (navData) { |
| 108 | window.location.href = JSON.parse(navData).link; |
| 109 | return; |
| 110 | } |
| 111 | |
| 112 | const navMulti = button.getAttribute('data-nav-multi'); |
| 113 | if (navMulti) { |
| 114 | const items = JSON.parse(navMulti); |
| 115 | const title = button.classList.contains('caller') ? 'Choose a caller:' : 'Choose a callee:'; |
| 116 | showNavigationMenu(button, items, title); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | function scrollToTargetLine() { |
| 121 | if (!window.location.hash) return; |
no test coverage detected
searching dependent graphs…