This commit is contained in:
Corbin Davenport
2022-01-23 02:31:33 -05:00
parent 4a36a24e07
commit 4ba7371e96
2 changed files with 3 additions and 3 deletions

View File

@@ -12,9 +12,9 @@ chrome.storage.local.get({
}, function (data) {
document.querySelector('#music-picker').value = data.music
if (data.musicEnabled) {
document.getElementById('music-toggle').innerText = 'Turn off music'
document.getElementById('music-toggle').innerText = 'Turn off background music'
} else {
document.getElementById('music-toggle').innerText = 'Turn on music'
document.getElementById('music-toggle').innerText = 'Turn on background music'
}
})

View File

@@ -29,7 +29,7 @@
<div class="container-fluid">
<button class="btn btn-sm btn-wii mt-3 w-100" id="music-toggle">...</button>
<div class="form-text">This toggles background music playback. You may need to switch tabs to take</div>
<div class="form-text">You may need to switch tabs for this to take effect.</div>
<label for="music-picker" class="mt-2 form-label">Music picker</label>
<select id="music-picker" multiple size="6" class="form-select w-100" multiple>