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