1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00
This commit is contained in:
Captain Jack Sparrow 2024-06-02 22:33:07 +00:00
commit 5941112e0c

View file

@ -293,7 +293,7 @@ export function Discover() {
isScrolling = true; isScrolling = true;
const carousel = carouselRefs.current[categorySlug]; const carousel = carouselRefs.current[categorySlug];
if (carousel) { if (carousel && !e.deltaX) {
const movieElements = carousel.getElementsByTagName("a"); const movieElements = carousel.getElementsByTagName("a");
if (movieElements.length > 0) { if (movieElements.length > 0) {
const posterWidth = movieElements[0].offsetWidth; const posterWidth = movieElements[0].offsetWidth;