Appease SonarCloud.

This commit is contained in:
Ian Walton 2020-09-07 13:10:38 -04:00
parent e9caf5e336
commit c8c8be39cd
2 changed files with 4 additions and 4 deletions

View file

@ -5,10 +5,10 @@ export function supported() {
return typeof(Storage) !== 'undefined';
}
export function enable(isEnabled) {
export function enable(enabled) {
if (!supported()) return;
if (isEnabled) {
if (enabled) {
const currentPlayerInfo = playbackManager.getPlayerInfo();
if (currentPlayerInfo && currentPlayerInfo.id && currentPlayerInfo.id) {