mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 19:41:25 -08:00
use ||
This commit is contained in:
1 parent
cafff9b155
commit
95ba1810b6
30 files changed
+447
-447
No files matched your search
@@ -22,7 +22,7 @@ export default function volume(option) {
|
||||
}
|
||||
|
||||
function update() {
|
||||
if (art.muted ?? art.volume === 0) {
|
||||
if (art.muted || art.volume === 0) {
|
||||
setStyle($volume, 'display', 'none');
|
||||
setStyle($close, 'display', 'flex');
|
||||
setStyle($indicator, 'top', '100%');
|
||||
|
||||
Reference in new issue
Block a user