Skip to content

Commit 73f4458

Browse files
committed
The title has changed from h1 to h2. There was the problem!
1 parent 8030014 commit 73f4458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/enhancers/github/GitHubIssueAppendEnhancer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export class GitHubIssueAppendEnhancer
5959
const number = parseInt(numberStr!, 10)
6060
const unique_key = `github.com:${slug}:${number}`
6161
const title = document
62-
.querySelector("main h1")!
63-
.textContent.replace(/\s*#\d+$/, "")
62+
.querySelector("main h2")!
63+
.textContent!.replace(/\s*#\d+$/, "")
6464
.trim()
6565
return {
6666
domain: location.host,

0 commit comments

Comments
 (0)