many
This commit is contained in:
parent
0b9ff1363b
commit
0a6148c73f
67 changed files with 2653 additions and 1519 deletions
|
|
@ -35,7 +35,7 @@ function syncAudioControls() {
|
|||
}
|
||||
if (ui.soundMasterToggle) ui.soundMasterToggle.checked = Boolean(audio.enabled);
|
||||
if (ui.soundBtn) {
|
||||
ui.soundBtn.textContent = audio.enabled ? "音設定 ON" : "音設定 OFF";
|
||||
ui.soundBtn.textContent = audio.enabled ? "\u97f3\u8a2d\u5b9a ON" : "\u97f3\u8a2d\u5b9a OFF";
|
||||
ui.soundBtn.classList.toggle("active", Boolean(audio.enabled));
|
||||
ui.soundBtn.setAttribute("aria-expanded", ui.soundPanel && !ui.soundPanel.classList.contains("hidden") ? "true" : "false");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue