cinephile
cinephile copied to clipboard
Uncaught Reference Error
I found an error by right clicking inspect element
while looking at index.html
page. The error is as follows: Uncaught ReferenceError: ScrollTrigger is not defined at script1.js:442:1
.
I viewed script1.js
file on line 442 and found that this piece of code was causing the console to throw an Uncaught Reference Error:
ScrollTrigger.batch(".movie", {
batchMax: 3,
onEnter: (batch) => {
gsap.to(batch, {autoAlpha: 1, stagger: 0.15, overwrite: true})
},
});
Your website cinephile works fine even with this Uncaught Reference Error. You can plug this line of code <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script>
in the html files to fix the issue however it comes with its own set of errors.
I can add the fix for you as a pull request for Hacktoberfest if you'd like.