to be honest, I tried every opportunity if I force JS into head, I have another Error: “Cannot read property ‘className’ of null” AND my toggleNav doesn’t function ??
That’s the reason why I exclude JS from optimization generally.
Thank you, superpoincare! Indeed it works with your code:
var $ = jQuery.noConflict();
the Problem was the toggleNavMain, which works with JS.
The Problem is solved, but unfortunately i have to exclude JS from optimization.
??
my URL:https://www.doumaindesign.de/