This commit is contained in:
Andras Schmelczer 2022-01-24 21:36:45 +01:00
parent 1b63bbc0da
commit 9f906d1fdf
No known key found for this signature in database
GPG key ID: 39260B5B0614A13E
13 changed files with 17 additions and 17 deletions

View file

@ -12,7 +12,7 @@ import './styles.scss';
import { create } from './portfolio';
const addSupportForTabNavigation = () =>
document.addEventListener('keydown', e => {
document.addEventListener('keydown', (e) => {
if (e.key === ' ') {
(document.activeElement as HTMLElement)?.click();
e.preventDefault();