Skip to content

Commit f6a781e

Browse files
authored
Merge pull request #20 from gatewayapps/bug/19-button-on-pr
Bug/19 button on pr
2 parents 495c9e5 + 005efd1 commit f6a781e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ chrome.storage.sync.get({
2020
loadRepos();
2121
});
2222

23-
// append button to DOM
24-
$('.gh-header-meta').append(btn);
23+
if (url.indexOf('/pull/') < 0) {
24+
// append button to DOM
25+
$('.gh-header-meta').append(btn);
26+
}
2527

2628
// get all repos for the user
2729
function loadRepos() {

0 commit comments

Comments
 (0)