Function
addAfterBranchSelector
(branchSelectorParent: HTMLDetailsElement, sibling: HTMLElement)
Source from the content-addressed store, hash-verified
| 165 | } |
| 166 | |
| 167 | export 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 |
Tested by
no test coverage detected