Skip to content

Commit

Permalink
fix(github): add uniqueness in rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
askides committed Nov 25, 2024
1 parent b411281 commit b36fbc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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"]')
Expand Down

0 comments on commit b36fbc3

Please sign in to comment.