Skip to content

Commit

Permalink
fix: Cypress visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
scarciofolomarco committed Apr 12, 2021
1 parent 326cd67 commit 740d654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const initializePopup = (element) => {
const dataset = getDataset(element)
const data = sanitizePopupAttributes(dataset)
if (data.mode === SIDE_PANEL && !data.container) {
data.container = element.parentNode.parentNode
data.container = element.parentNode
}

const popup = makePopup(url, data, element)
Expand Down

0 comments on commit 740d654

Please sign in to comment.