diff --git a/src/scripts/browser.js b/src/scripts/browser.js index e87e79842c..8bf1528bde 100644 --- a/src/scripts/browser.js +++ b/src/scripts/browser.js @@ -14,7 +14,7 @@ function isTv() { return true; } - if (userAgent.indexOf('netcast')) { + if (userAgent.indexOf('netcast') !== -1) { return true; }