mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix display mirror
This commit is contained in:
parent
9e9ef216fa
commit
b86d2368f4
1 changed files with 3 additions and 5 deletions
|
@ -14,9 +14,9 @@
|
|||
});
|
||||
}
|
||||
|
||||
function mirrorIfEnabled() {
|
||||
function mirrorIfEnabled(info) {
|
||||
|
||||
var info = currentDisplayInfo;
|
||||
info = info || currentDisplayInfo;
|
||||
|
||||
if (info && MediaController.enableDisplayMirroring()) {
|
||||
|
||||
|
@ -1037,9 +1037,7 @@
|
|||
|
||||
pageClassOn('displayingitem', "libraryPage", function (e) {
|
||||
|
||||
var info = e.detail.info;
|
||||
currentDisplayInfo = info;
|
||||
|
||||
var info = e.detail;
|
||||
mirrorIfEnabled(info);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue