We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_
1 parent e2d88f7 commit c415d43Copy full SHA for c415d43
src/lib/enhancers/github/GitHubPrAppendEnhancer.tsx
@@ -21,11 +21,11 @@ export class GitHubPrAppendEnhancer implements CommentEnhancer<GitHubPrAppendSpo
21
}
22
23
tryToEnhance(
24
- _textarea: HTMLTextAreaElement,
+ textarea: HTMLTextAreaElement,
25
location: StrippedLocation,
26
): GitHubPrAppendSpot | null {
27
// Only handle github.com domains TODO: identify GitHub Enterprise somehow
28
- if (location.host !== 'github.com' || _textarea.id !== 'new_comment_field') {
+ if (location.host !== 'github.com' || textarea.id !== 'new_comment_field') {
29
return null
30
31
0 commit comments