This commit is contained in:
Georgi Gardev
2023-11-20 12:17:21 +02:00
parent 1fa2a6c483
commit 34fe161759

View File

@@ -45,7 +45,7 @@ export default function Home() {
function handleKeypress(e: KeyboardEvent) {
switch (e.key) {
case 'ArrowRight': {
if (document.activeElement?.id === 'search') {
if (document.activeElement?.id !== 'search') {
onNextBackground();
}
break;