diff --git a/src/components/autocast.js b/src/components/autocast.js index 3572f42bb2..4d191a62da 100644 --- a/src/components/autocast.js +++ b/src/components/autocast.js @@ -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) { diff --git a/src/components/playback/playerSelectionMenu.js b/src/components/playback/playerSelectionMenu.js index 3fe5be70d8..dcf36dd9b4 100644 --- a/src/components/playback/playerSelectionMenu.js +++ b/src/components/playback/playerSelectionMenu.js @@ -224,8 +224,8 @@ function showActivePlayerMenuInternal(dialogHelper, playerInfo) { if (autocast.supported()) { html += ''; }