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.
2 parents a342c94 + 84e2c49 commit da72e40Copy full SHA for da72e40
1 file changed
extension/content.js
@@ -270,7 +270,10 @@ function linkifyIssuesInTitles() {
270
}
271
272
function addPatchDiffLinks() {
273
- const commitUrl = location.href.replace(/\/$/, '');
+ let commitUrl = location.href.replace(/\/$/, '');
274
+ if (isPRCommit()) {
275
+ commitUrl = commitUrl.replace(/\/pull\/\d+\/commits/, '/commit');
276
+ }
277
const commitMeta = $('.commit-meta span.right').get(0);
278
279
$(commitMeta).append(`
0 commit comments