(e)
| 233 | if (hdr == null) return; |
| 234 | if (hdr.classList.contains('disabled')) return; |
| 235 | function showMenu(e) { |
| 236 | // menu is a child of hdr, so this event can fire for clicks |
| 237 | // inside menu. Ignore such clicks. |
| 238 | if (e.target.parentElement != hdr) return; |
| 239 | activeMenu = menu; |
| 240 | activeMenuHdr = hdr; |
| 241 | menu.style.display = 'block'; |
| 242 | } |
| 243 | hdr.addEventListener('mousedown', showMenu); |
| 244 | hdr.addEventListener('touchstart', showMenu); |
| 245 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…