(this: HTMLButtonElement)
| 24 | const {version} = chrome.runtime.getManifest(); |
| 25 | |
| 26 | async function findFeatureHandler(this: HTMLButtonElement): Promise<void> { |
| 27 | // TODO: Add support for GHE |
| 28 | await startFeatureIdentification(); |
| 29 | |
| 30 | this.disabled = true; |
| 31 | setTimeout(() => { |
| 32 | this.disabled = false; |
| 33 | }, 10_000); |
| 34 | |
| 35 | $('#find-feature-message').hidden = false; |
| 36 | } |
| 37 | |
| 38 | let hasScrolledToTarget = false; |
| 39 |
nothing calls this directly
no test coverage detected