mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Merge branch 'dev' of https://github.com/sussy-code/smov into dev
This commit is contained in:
commit
5941112e0c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue