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

Function unhighlightTab

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

Source from the content-addressed store, hash-verified

67};
68
69export const unhighlightTab = (tabElement: Element): void => {
70 tabElement.classList.remove('selected');
71 tabElement.removeAttribute('aria-current');
72};
73
74const matchString = (matcher: RegExp | string, string: string): boolean =>
75 typeof matcher === 'string' ? matcher === string : matcher.test(string);

Callers 2

addBugsTabFunction · 0.85
highlightBugsTabFunction · 0.85

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected