cleanup gdrp button vertical. only show gdpr when not iframed
This commit is contained in:
parent
bea3f3b053
commit
46a192f804
3 changed files with 4 additions and 4 deletions
|
|
@ -1858,8 +1858,8 @@
|
|||
// send init-done event
|
||||
API.event.emit('init-done', STATS);
|
||||
|
||||
// show gdpr if it's never been seen
|
||||
if (!SDB.gdpr) {
|
||||
// show gdpr if it's never been seen and we're not iframed
|
||||
if (!SDB.gdpr && WIN.self === WIN.top) {
|
||||
$('gdpr').style.display = 'flex';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue