Skip to content

Commit

Permalink
Merge pull request #20 from gatewayapps/bug/19-button-on-pr
Browse files Browse the repository at this point in the history
Bug/19 button on pr
  • Loading branch information
mcnewbk authored Apr 7, 2017
2 parents 495c9e5 + 005efd1 commit f6a781e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ chrome.storage.sync.get({
loadRepos();
});

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

// get all repos for the user
function loadRepos() {
Expand Down

0 comments on commit f6a781e

Please sign in to comment.