MCPcopy Create free account
hub / github.com/google/pprof / cancelActiveMenu

Function cancelActiveMenu

internal/driver/html/common.js:223–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 let activeMenuHdr = null;
222
223 function cancelActiveMenu() {
224 if (activeMenu == null) return;
225 activeMenu.style.display = 'none';
226 activeMenu = null;
227 activeMenuHdr = null;
228 }
229
230 // Set click handlers on every menu header.
231 for (const menu of document.getElementsByClassName('submenu')) {

Callers 1

initMenusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…