MCPcopy
hub / github.com/refined-github/refined-github / addAfterBranchSelector

Function addAfterBranchSelector

source/github-helpers/index.ts:167–171  ·  view source on GitHub ↗
(branchSelectorParent: HTMLDetailsElement, sibling: HTMLElement)

Source from the content-addressed store, hash-verified

165}
166
167export function addAfterBranchSelector(branchSelectorParent: HTMLDetailsElement, sibling: HTMLElement): void {
168 const row = closestElement('.position-relative', branchSelectorParent);
169 row.classList.add('d-flex', 'flex-shrink-0', 'gap-2');
170 row.append(sibling);
171}
172
173/** Trigger a conversation update if the view is out of date */
174// https://github.com/refined-github/refined-github/issues/2465#issuecomment-567173300

Callers 1

addFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected