Closed christophbee closed 1 year ago
@DirkPersky I just tried to use the updated JS file but this leads to an "unexpected end of input" error in my developer console.
As a result I tried to validate the javascript of the file and it shows an error as well, see screenshot. I used this validator: https://codebeautify.org/jsvalidate
Can you reproduce this error and/or check this again, please?
Your first screen more looks like u haven't completed uploaded the Script.
I have it on my private site "https://dp-wired.de/" and there the subscriber works.
You were right, we were faced with some permission issues when uploading the files via FTP. Now all works fine, thx!
TYPO3 11.5.22 dp_cookieconsent 11.6.3
I try to execute a js script after accepting the cookie "thirdparty". Therefore I include the following snippet:
After accepting the appropriate cookie "thirdparty" I want to catch the event 'dp--cookie-fire'. Documentation:
My implementation
My code is executed after accepting the cookie but e.detail is null and therefore it throws an error in this line:
var el2 = jQuery(e.detail.$el);
The event that is fired looks like this:
Anyone an idea where the problem may be? Thx