From b408dc031f89b2a1bc970155e25cda82551fd3f0 Mon Sep 17 00:00:00 2001 From: joshua-ostrom Date: Tue, 11 Jun 2024 14:33:20 -0400 Subject: [PATCH] window for uniformity --- packages/cookie-manager/src/utils/applyGpcToAdPref.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cookie-manager/src/utils/applyGpcToAdPref.ts b/packages/cookie-manager/src/utils/applyGpcToAdPref.ts index 0da5b1f..fd07934 100644 --- a/packages/cookie-manager/src/utils/applyGpcToAdPref.ts +++ b/packages/cookie-manager/src/utils/applyGpcToAdPref.ts @@ -14,7 +14,7 @@ const applyGpcToAdPref = ( } // If we lack GPC or it's set ot false we are done - if (!(navigator as any).globalPrivacyControl) { + if (!(window.navigator as any).globalPrivacyControl) { return preference; }