JavaScript file doesn't load after page transition with barba.js
问题 I have a website with a link. When I click the link I want a smooth page transition to the next page using jQuery. I got the the HTML elements inside the barba DOM to fade out. But when the next page tries to load, all BUT the JavaScript loads. This is my code: (index.html) <div id="barba-wrapper" class="wrapper"> <div class="barba-container"> <div class="container"> <span class="text1">Hey There!</span> <span class="text2">This is my portfolio!</span> <a id="homeLink" href="./home.html"