Skip to content

Commit

Permalink
fix(jira): Fix error being thrown by the Jira 2017 page renderer
Browse files Browse the repository at this point in the history
closes #1346
  • Loading branch information
LulzAugusto authored and shantanuraj committed Jul 1, 2019
1 parent fb99ee2 commit 2bc2b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/content/atlassian.js
Expand Up @@ -169,7 +169,7 @@ togglbutton.render(
link.style.marginLeft = '8px';

const issueLinkContainer =
$('.issue-link').parentElement || $('.aui-nav li').lastElementChild;
($('.issue-link') || {}).parentElement || ($('.aui-nav li') || {}).lastElementChild;
issueLinkContainer && issueLinkContainer.appendChild(link);
}
);
Expand Down

0 comments on commit 2bc2b24

Please sign in to comment.