1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix: use isWeb0s in isTv method

This commit is contained in:
Kay Simons 2021-09-04 13:10:43 +02:00
parent 8b05cf62a6
commit 104e72fc4f

View file

@ -14,11 +14,7 @@ function isTv() {
return true;
}
if (userAgent.indexOf('netcast') !== -1) {
return true;
}
if (userAgent.indexOf('web0s') !== -1) {
if (isWeb0s()) {
return true;
}