JS error (with fix)
-
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!
The topic ‘JS error (with fix)’ is closed to new replies.