Plugin breaks some scripts
-
Hello,
After pressing “Accept all” some things stop working (after 2 seconds):
1. Search button on the sticked to the right bar.
2. Menu humburger on mobile.I noticed that it gets fixed if I comment “dispatch” stroke in file complianz-gdpr/assets/js/complianz.js
function cmplzRunAfterAllScripts() { console.log('cmplzRunAfterAllScripts'); if (!cmplzAllScriptsHookFired && cmplzArrayIsEmpty(waitingInlineScripts) && cmplzArrayIsEmpty(waitingScripts) ) { var event = new CustomEvent( 'cmplzRunAfterAllScripts' ); // document.dispatchEvent(event); cmplzAllScriptsHookFired = true; } }It seems like some js code evaluates twice after accepting cookies.
Any ideas how I can fix this?
Thank you
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Plugin breaks some scripts’ is closed to new replies.