Skip to content

Commit

Permalink
fix trustarc popup detection
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov committed Nov 8, 2024
1 parent 21c9ebf commit fabff25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmps/trustarc-top.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class TrustArcTop extends AutoConsentCMPBase {

async detectPopup() {
// not every element should exist, but if it does, it's a popup
return this.elementVisible(`${popupContent},${bannerOverlay},${bannerContainer}`, 'all');
return this.elementVisible(`${popupContent},${bannerOverlay},${bannerContainer}`, 'any');
}

openFrame() {
Expand Down

0 comments on commit fabff25

Please sign in to comment.