mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Handle command 'Back'
This commit is contained in:
parent
c84166751e
commit
e7b8048715
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