(element: HTMLElement)
| 47 | } |
| 48 | |
| 49 | function prepareForAddition(element: HTMLElement): void { |
| 50 | if (!element.classList.contains('AppHeader-context-item')) { |
| 51 | closestElement('li', element).classList.add('d-flex'); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | function markPrivate(repoLink: HTMLElement, isPrivate: boolean): void { |
| 56 | // GitHub may already show this icon natively, so we match its position |
no outgoing calls
no test coverage detected