@bytebrand/fe-ui-core 4.1.169 → 4.1.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -554,5 +554,5 @@ export const updateCookieList = () => {
|
|
|
554
554
|
// grant FB cookies
|
|
555
555
|
if (isFBGranted && typeof window.fbq === 'function') window.fbq('consent', 'grant');
|
|
556
556
|
// grant Hotjar cookies
|
|
557
|
-
if (isHotjarGranted && typeof window.grantHotjarCookieConsent
|
|
557
|
+
if (isHotjarGranted && typeof window.grantHotjarCookieConsent === 'function') window.grantHotjarCookieConsent();
|
|
558
558
|
};
|