Fix sonarjs prefer-single-boolean-return
This commit is contained in:
@@ -105,11 +105,7 @@ import dom from '../scripts/dom';
|
||||
return false;
|
||||
}
|
||||
|
||||
if (browser.tv) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return !!browser.tv;
|
||||
}
|
||||
|
||||
function onMouseInterval() {
|
||||
|
||||
Reference in New Issue
Block a user