Update js/settings.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
b9fb5a335d
commit
070abc712d
1 changed files with 2 additions and 1 deletions
|
|
@ -6074,8 +6074,9 @@ export async function initializeSettings(scrobbler, player, api, ui) {
|
|||
if (cdAlbumCoverToggle) {
|
||||
cdAlbumCoverToggle.checked = visualizerSettings.isCdAlbumCoverEnabled();
|
||||
|
||||
cdAlbumCoverToggle.addEventListener('change', async (e) => {
|
||||
cdAlbumCoverToggle.addEventListener('change', (e) => {
|
||||
visualizerSettings.setCdAlbumCoverEnabled(e.target.checked);
|
||||
window.dispatchEvent(new CustomEvent('fullscreen-cover-settings-changed'));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue