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

Function highlightTab

source/helpers/dom-utils.ts:64–67  ·  view source on GitHub ↗
(tabElement: Element)

Source from the content-addressed store, hash-verified

62 });
63
64export const highlightTab = (tabElement: Element): void => {
65 tabElement.classList.add('selected');
66 tabElement.setAttribute('aria-current', 'page');
67};
68
69export const unhighlightTab = (tabElement: Element): void => {
70 tabElement.classList.remove('selected');

Callers 1

highlightBugsTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected