Skip to content

Commit e5f2df8

Browse files
committed
proper init of objects on modern secure signals
1 parent a5911c1 commit e5f2df8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/secureSignal_shared.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ export class UidSecureSignalProvider implements UidSecureSignalProviderType {
2828
return;
2929
}
3030

31-
window.googletag = window.googletag || {
32-
cmd: [],
33-
};
34-
35-
window.googletag.secureSignalProviders = window.googletag.secureSignalProviders || [];
31+
window.googletag = window.googletag || {};
32+
window.googletag.secureSignalProviders = window.googletag.secureSignalProviders || {};
3633

3734
if (!this.hasRegisteredSecureSignals) {
3835
this.hasRegisteredSecureSignals = true;

0 commit comments

Comments
 (0)