Stuff stuff stuff #44
@ -29,9 +29,8 @@ export const KeyboardNavigation = ({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const containerWidth = containerRef.current.getBoundingClientRect().width;
|
const containerWidth = containerRef.current.getBoundingClientRect().width;
|
||||||
const posterContainer = containerRef.current.getElementsByClassName(
|
const posterContainer =
|
||||||
"img-thumbnail"
|
containerRef.current.getElementsByClassName("img-thumbnail");
|
||||||
);
|
|
||||||
|
|
||||||
let posterWidth = 0;
|
let posterWidth = 0;
|
||||||
if (posterContainer !== null && posterContainer.item(0) !== null) {
|
if (posterContainer !== null && posterContainer.item(0) !== null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user