Stuff stuff stuff #44

Merged
PouuleT merged 24 commits from update-node into master 2021-08-30 12:59:08 +00:00
Showing only changes of commit 14e56454e7 - Show all commits

View File

@ -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) {