style: format

This commit is contained in:
DIYgod
2020-06-26 00:22:46 +08:00
parent 0029e0b851
commit 284c30c1f8
+2 -3
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');