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

Apply suggestions from code review

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
imchasingshadows 2021-09-16 16:13:29 +02:00 committed by GitHub
parent 59bb2f27a5
commit 2e66ce13e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -1383,7 +1383,6 @@ function tryRemoveElement(elem) {
} }
} }
return videoElement; return videoElement;
}); });
} else { } else {

View file

@ -23,6 +23,7 @@ function isTv() {
function isWeb0s() { function isWeb0s() {
const userAgent = navigator.userAgent.toLowerCase(); const userAgent = navigator.userAgent.toLowerCase();
if (userAgent.indexOf('netcast') !== -1) { if (userAgent.indexOf('netcast') !== -1) {
return true; return true;
} }