@ -178,7 +178,7 @@ class MovieDetails extends Component {
}
onKeyUp = (event) => {
if (event.path.length === 4) {
if (event.composedPath && event.composedPath().length === 4) {
if (event.keyCode === keyCodes.LEFT_ARROW) {
this.props.onGoToMovie(this.props.previousMovie.titleSlug);
@ -246,7 +246,7 @@ class MovieIndex extends Component {
const jumpBarItems = this.state.jumpBarItems.order;
if (event.keyCode === keyCodes.HOME && event.ctrlKey) {
this.setState({ jumpToCharacter: jumpBarItems[0] });