Skip to content

Commit

Permalink
test if can fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rares-mihai-preda committed Aug 26, 2024
1 parent f337c10 commit 221f612
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/connatixBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import {
getWindowTop,
isNumber,
isStr,
deepSetValue
deepSetValue,
isSafariBrowser,
getWindowSelf
} from '../src/utils.js';

import {
Expand Down Expand Up @@ -78,6 +80,10 @@ export function _getMinSize(sizes) {

export function _isIframe() {
try {
if (isSafariBrowser()) {
return getWindowSelf() !== getWindowTop();
}

window.top.document.querySelector('test');
return false;
} catch (e) {
Expand Down

0 comments on commit 221f612

Please sign in to comment.