• Resolved darknessfx

    (@darknessfx)


    Problem:
    If you set Capture consent & hide the banner to 30 seconds, if the user already had the cookie the script throw an error.

    Error:
    Uncaught TypeError: Cannot read property ‘removeChild’ of null
    at eu-cookie-law.min.js?ver=20180522:2

    Script:
    function(){n.parentNode.removeChild(n);…

    Solution?
    Needs to check if the element exists on the webpage before try to removeChild.

    • This topic was modified 5 years, 8 months ago by darknessfx.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘EU Cookie Law – Script error’ is closed to new replies.