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:
parent
8b05cf62a6
commit
104e72fc4f
1 changed files with 1 additions and 5 deletions
|
@ -14,11 +14,7 @@ function isTv() {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (userAgent.indexOf('netcast') !== -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (userAgent.indexOf('web0s') !== -1) {
|
||||
if (isWeb0s()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue