MCPcopy Index your code
hub / github.com/refined-github/refined-github / showSubmenu

Function showSubmenu

source/features/quick-comment-hiding.tsx:82–88  ·  view source on GitHub ↗
(event: DelegateEvent)

Source from the content-addressed store, hash-verified

80}
81
82function showSubmenu(event: DelegateEvent): void {
83 generateSubmenu(event.delegateTarget);
84 toggleSubmenu(event.delegateTarget, true);
85
86 event.stopImmediatePropagation();
87 event.preventDefault();
88}
89
90function init(signal: AbortSignal): void {
91 // `capture: true` required to be fired before GitHub's handlers

Callers

nothing calls this directly

Calls 2

generateSubmenuFunction · 0.85
toggleSubmenuFunction · 0.85

Tested by

no test coverage detected