Fix sonarjs prefer-single-boolean-return
This commit is contained in:
@@ -41,13 +41,9 @@ function cancelFadeTimeout() {
|
||||
}
|
||||
|
||||
function supportsFade() {
|
||||
if (browser.tv) {
|
||||
// Not working on tizen.
|
||||
// We could possibly enable on other tv's, but all smart tv browsers tend to be pretty primitive
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
// Not working on tizen.
|
||||
// We could possibly enable on other tv's, but all smart tv browsers tend to be pretty primitive
|
||||
return !browser.tv;
|
||||
}
|
||||
|
||||
function requireHlsPlayer(callback) {
|
||||
|
||||
Reference in New Issue
Block a user