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 086aa92 commit ddbd751Copy full SHA for ddbd751
1 file changed
chrome/src/inject/inject.js
@@ -71,7 +71,7 @@ function initOnHashChangeAction(domains) {
71
}
72
73
// Go to thread instead of diffs or file views
74
- url = url.match(/^(.+\/\d+)/)[1]
+ if (url.match(/^(.+\/(issue|pull)\/\d+)/)) url = url.match(/^(.+\/(issue|pull)\/\d+)/)[1]
75
var link = document.createElement('a')
76
link.href = url
77
link.className = 'github-link T-I J-J5-Ji lS T-I-ax7 ar7'
0 commit comments