Thanks for the help!
I tried it as described, but still, my JS is only working, when put in the template.js.
BUT, i found a solution that worked for me in another forum:
I put my JS Code in the user.js in this bracket:now it works
I tried it as described, but still, my JS is only working, when put in the template.js.
BUT, i found a solution that worked for me in another forum:
I put my JS Code in the user.js in this bracket:
Code:
document.addEventListener("DOMContentLoaded", function(){/* MY CODE */});
Statistics: Posted by Roland_S — Tue Sep 03, 2024 1:07 pm