From 104e72fc4f1e0cc8f1ae0c979e4afacee84b9c26 Mon Sep 17 00:00:00 2001 From: Kay Simons Date: Sat, 4 Sep 2021 13:10:43 +0200 Subject: [PATCH] fix: use isWeb0s in isTv method --- src/scripts/browser.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/scripts/browser.js b/src/scripts/browser.js index 8bf1528bd..dfe538211 100644 --- a/src/scripts/browser.js +++ b/src/scripts/browser.js @@ -14,11 +14,7 @@ function isTv() { return true; } - if (userAgent.indexOf('netcast') !== -1) { - return true; - } - - if (userAgent.indexOf('web0s') !== -1) { + if (isWeb0s()) { return true; }