1
0
Fork 0
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:
Dmitry Lyzo 2021-12-05 19:04:43 +03:00
parent c84166751e
commit e7b8048715

View file

@ -399,6 +399,15 @@ import { appRouter } from '../../../components/appRouter';
case 'togglestats':
toggleStats();
break;
case 'back':
// Ignore command when some dialog is opened
if (currentVisibleMenu === 'osd' && !getOpenedDialog()) {
hideOsd();
e.preventDefault();
}
break;
}
}