From 42b792a8d96e5d467dda0eb06f8fcf285d41b9e2 Mon Sep 17 00:00:00 2001 From: Alisson Oliveira Souza Date: Tue, 3 Oct 2023 10:25:22 -0300 Subject: [PATCH] fix(jira): Fix button not showing up Closes #2243 --- src/content/atlassian.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/atlassian.js b/src/content/atlassian.js index df714ad0b..d72cfa32d 100644 --- a/src/content/atlassian.js +++ b/src/content/atlassian.js @@ -42,7 +42,7 @@ togglbutton.render( '#jira-issue-header:not(.toggl)', { observe: true }, function (elem) { - const issueWrapper = elem.querySelector('[data-test-id="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]'); + const issueWrapper = elem.querySelector('[data-testid="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]'); let issueNumberElement; let container; @@ -93,7 +93,7 @@ const getDescription = (issueNumberElement) => () => { } } - const titleElement = document.querySelector('h1[data-test-id="issue.views.issue-base.foundation.summary.heading"]'); + const titleElement = document.querySelector('h1[data-testid="issue.views.issue-base.foundation.summary.heading"]'); if (titleElement) { if (description) description += ' '; description += titleElement.textContent.trim();