diff --git a/app.js b/app.js index 83b49e9..a838be8 100644 --- a/app.js +++ b/app.js @@ -32,9 +32,9 @@ function initializeExtension() { // if the page is not a pull request page(view or create) // and the page is not a new issue page // and there is no Kamino button in the DOM, proceed - if (urlObj.url.indexOf(url.organization + '/' + url.currentRepo + '/compare/') < 0 && - urlObj.url.indexOf(url.organization + '/' + url.currentRepo + '/pull/') < 0 && - urlObj.url.indexOf(url.organization + '/' + url.currentRepo + '/issues/new') < 0 && + if (urlObj.url.indexOf(urlObj.organization + '/' + urlObj.currentRepo + '/compare/') < 0 && + urlObj.url.indexOf(urlObj.organization + '/' + urlObj.currentRepo + '/pull/') < 0 && + urlObj.url.indexOf(urlObj.organization + '/' + urlObj.currentRepo + '/issues/new') < 0 && $('.kaminoButton').length === 0) { // look for any applied issue filters diff --git a/manifest.json b/manifest.json index 614bd48..fb3d233 100644 --- a/manifest.json +++ b/manifest.json @@ -33,7 +33,7 @@ "webNavigation", "*://github.com/*" ], - "version": "2.2", + "version": "2.3", "web_accessible_resources":[ "icons/*.png", "bootstrap/js/bootstrap.min.js",