• js/front.min.js throws an uncaught error: “Cannot read property ‘addEventListener’ of null” which is related to your code:

    "null"!==i&&i.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),t.setStatus(this.dataset.cookieSet)});

    where the TypeError is clearly solved by using null instead of string “null”.

    Since this error stops all following JS from execution I strongly recommend to fix this quickly. Thanks!

    • This topic was modified 5 years, 3 months ago by Frank.
    • This topic was modified 5 years, 3 months ago by Frank.

The topic ‘JS error (with fix)’ is closed to new replies.