mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +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;
|
||||
|
||||
const carousel = carouselRefs.current[categorySlug];
|
||||
if (carousel) {
|
||||
if (carousel && !e.deltaX) {
|
||||
const movieElements = carousel.getElementsByTagName("a");
|
||||
if (movieElements.length > 0) {
|
||||
const posterWidth = movieElements[0].offsetWidth;
|
||||
|
|
Loading…
Reference in a new issue