File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
browser-extension/src/lib/enhancers/github Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,12 @@ export class GitHubIssueAddCommentEnhancer implements CommentEnhancer<GitHubIssu
1717 }
1818
1919 tryToEnhance ( textarea : HTMLTextAreaElement ) : GitHubIssueAddCommentSpot | null {
20- if (
21- document . querySelector ( 'meta[name="hostname"]' ) ?. getAttribute ( 'content' ) !== 'github.com' ||
22- textarea . id !== ':r2v:'
23- ) {
20+ if ( document . querySelector ( 'meta[name="hostname"]' ) ?. getAttribute ( 'content' ) !== 'github.com' ) {
2421 return null
2522 }
2623
24+ logger . debug ( 'THE ID IS ' , textarea . id )
25+
2726 // Parse GitHub URL structure: /owner/repo/issues/123 or /owner/repo/pull/456
2827 logger . debug ( `${ this . constructor . name } examing url` , window . location . pathname )
2928
You can’t perform that action at this time.
0 commit comments