Appease SonarCloud.
This commit is contained in:
parent
e9caf5e336
commit
c8c8be39cd
2 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue