1
0
Fork 0
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:
Luke Pulverenti 2015-12-13 15:49:28 -05:00
parent 9e9ef216fa
commit b86d2368f4

View file

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