mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
bugfix
This commit is contained in:
1 parent
4b9c7fd4cf
commit
e0fcc50055
102 files changed
+193
-186
No files matched your search
@@ -28,9 +28,11 @@ export default function lock(art) {
|
||||
if (hasClass($player, 'art-lock')) {
|
||||
removeClass($player, 'art-lock');
|
||||
this.isLock = false;
|
||||
art.emit('lock', false);
|
||||
} else {
|
||||
addClass($player, 'art-lock');
|
||||
this.isLock = true;
|
||||
art.emit('lock', true);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user