There was an error while loading. Please reload this page.
1 parent 8030014 commit 73f4458Copy full SHA for 73f4458
src/lib/enhancers/github/GitHubIssueAppendEnhancer.tsx
@@ -59,8 +59,8 @@ export class GitHubIssueAppendEnhancer
59
const number = parseInt(numberStr!, 10)
60
const unique_key = `github.com:${slug}:${number}`
61
const title = document
62
- .querySelector("main h1")!
63
- .textContent.replace(/\s*#\d+$/, "")
+ .querySelector("main h2")!
+ .textContent!.replace(/\s*#\d+$/, "")
64
.trim()
65
return {
66
domain: location.host,
0 commit comments