style: format

This commit is contained in:
DIYgod 2020-06-26 00:22:46 +08:00
parent 0029e0b851
commit 284c30c1f8
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 2 additions and 3 deletions

View File

@ -49,9 +49,8 @@ class DPlayer {
}
if (this.options.live) {
this.container.classList.add('dplayer-live');
}
else {
this.container.classList.remove("dplayer-live");
} else {
this.container.classList.remove('dplayer-live');
}
if (utils.isMobile) {
this.container.classList.add('dplayer-mobile');