mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Ensure TV display mode is not considered "modern ui"
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user