1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #6509 from dmitrylyzo/fix-nav-regression

This commit is contained in:
Bill Thornton 2025-02-09 06:28:48 +00:00 committed by GitHub
commit d3054985a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,23 +79,9 @@ function onMouseDown(e) {
}
function onKeyDown(e) {
switch (e.keyCode) {
case 13:
if (!enableNativeMenu()) {
e.preventDefault();
showActionSheet(this);
}
return;
case 37:
case 38:
case 39:
case 40:
if (layoutManager.tv) {
e.preventDefault();
}
return;
default:
break;
if (e.keyCode === 13 && !enableNativeMenu()) {
e.preventDefault();
showActionSheet(this);
}
}