diff --git a/src/content/github.js b/src/content/github.js index 866c33e9c..4bba83b7a 100644 --- a/src/content/github.js +++ b/src/content/github.js @@ -22,7 +22,7 @@ const getPaneDescription = async (elem) => { // Issue and Pull Request Page togglbutton.render( - '#partial-discussion-sidebar', + '#partial-discussion-sidebar:not(.toggl)', { observe: true }, function (elem) { const numElem = $('.gh-header-number') @@ -62,7 +62,7 @@ togglbutton.render( // Issue Beta togglbutton.render( - '[data-testid="issue-viewer-metadata-pane"]', + '[data-testid="issue-viewer-metadata-pane"]:not(.toggl)', { observe: true }, function (elem) { const titleElem = $('[data-testid="issue-title"]')