Javascript doesn't load

hello,
i’m currently building a website with kirby and my javascript doesn’t load.
I have put <?php echo js(array('assets/js/jquery-3.2.1.min.js', 'assets/js/script.js')); ?> between the footer and the </body>.
My script worked well but it sudently stopped to work and i really don’t know why.

Have you checked your console for error messages?

yes the console shows me this message:
“loading pref showConsoleLogs before prefs were initialised, you will not get the correct result”

I simple google search brought up this: javascript - loading pref showConsoleLogs before prefs were initialised, you will not get the correct result - Stack Overflow

Maybe this helps, but this is not Kirby related.

i think there is no link. This message is not kirby related but ghostery related…
Thank you for answering me that fast by the way :slight_smile:

Well, anyway, check if your Javascript files are loaded at all in your dev tools’ network tab and then check if you get any JavaScript errors.

What I meant was that your problem is not Kirby related. The code you added to load your scripts is OK.

ok thanks for your answer