diff --git a/.gitignore b/.gitignore index c2658d7d1..78f2710d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules/ +.idea/ diff --git a/src/content/atlassian.js b/src/content/atlassian.js index d72cfa32d..88ea61dde 100644 --- a/src/content/atlassian.js +++ b/src/content/atlassian.js @@ -126,8 +126,7 @@ function getProject () { } } - projectElement = $('[data-test-id="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]'); - + projectElement = $('[data-test-id="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]') || $('[data-testid="issue.views.issue-base.foundation.breadcrumbs.project.container"]') if (projectElement) { const projectWrapper = projectElement.parentElement.querySelector('a[href*="browse"] span + span'); return projectWrapper ? projectWrapper.textContent.trim() : '';