mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #6509 from jellyfin-web/release-10.10.z
Fix navigation for emby-select element
Original-merge: d3054985a5
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
parent
ab3765231c
commit
1a4d353db5
1 changed files with 3 additions and 17 deletions
|
@ -79,24 +79,10 @@ function onMouseDown(e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onKeyDown(e) {
|
function onKeyDown(e) {
|
||||||
switch (e.keyCode) {
|
if (e.keyCode === 13 && !enableNativeMenu()) {
|
||||||
case 13:
|
|
||||||
if (!enableNativeMenu()) {
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
showActionSheet(this);
|
showActionSheet(this);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
case 37:
|
|
||||||
case 38:
|
|
||||||
case 39:
|
|
||||||
case 40:
|
|
||||||
if (layoutManager.tv) {
|
|
||||||
e.preventDefault();
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let inputId = 0;
|
let inputId = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue