mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Apply suggestions from code review
This commit is contained in:
parent
8df85172cb
commit
6348367711
2 changed files with 4 additions and 4 deletions
|
@ -1083,11 +1083,13 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
|
|||
function onWindowKeyDown(e) {
|
||||
if (!currentVisibleMenu && 32 === e.keyCode) {
|
||||
playbackManager.playPause(currentPlayer);
|
||||
return void showOsd();
|
||||
showOsd();
|
||||
return;
|
||||
}
|
||||
|
||||
if (layoutManager.tv && NavigationKeys.indexOf(e.key) != -1) {
|
||||
return void showOsd();
|
||||
showOsd();
|
||||
return;
|
||||
}
|
||||
|
||||
switch (e.key) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue