Ensure TV display mode is not considered "modern ui"

This commit is contained in:
HighImKevin
2026-10-11 02:34:15 -04:00
parent f7b756aad0
commit a1faf72cc4
+3
View File
@@ -1201,6 +1201,9 @@
}
function isModernUI() {
if (document.documentElement.classList.contains('layout-tv')) {
return false;
}
return !!document.querySelector('main.MuiBox-root') || (localStorage.getItem('layout')?.length === 0 && isJellyfinWebAtLeast12());
}