forked from mirrors/akkoma-fe
fix rot muting
This commit is contained in:
parent
f89ac17ff1
commit
1cb8e95c75
1 changed files with 2 additions and 3 deletions
|
@ -382,9 +382,8 @@
|
|||
volumeSlider.addEventListener('mousedown', onMouseDown);
|
||||
}
|
||||
|
||||
localStorage.audiomuted === "true";
|
||||
audio.muted = localStorage.audiomuted;
|
||||
musicmute.checked = localStorage.audiomuted;
|
||||
audio.muted = localStorage.audiomuted === "true";
|
||||
musicmute.checked = localStorage.audiomuted === "true"
|
||||
musicmute.addEventListener('click', () => {
|
||||
localStorage.audiomuted = musicmute.checked;
|
||||
audio.muted = musicmute.checked;
|
||||
|
|
Loading…
Reference in a new issue