1
0
Fork 0
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:
Cody Robibero 2021-12-13 12:49:09 -07:00 committed by GitHub
commit 0b569fcedf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}
}