mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3209 from dmitrylyzo/add-cmd-back
This commit is contained in:
commit
0b569fcedf
1 changed files with 9 additions and 0 deletions
|
@ -399,6 +399,15 @@ import { appRouter } from '../../../components/appRouter';
|
||||||
|
|
||||||
case 'togglestats':
|
case 'togglestats':
|
||||||
toggleStats();
|
toggleStats();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'back':
|
||||||
|
// Ignore command when some dialog is opened
|
||||||
|
if (currentVisibleMenu === 'osd' && !getOpenedDialog()) {
|
||||||
|
hideOsd();
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue