DIYgod 5 лет назад
Родитель
Сommit
284c30c1f8
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      src/js/player.js

+ 2 - 3
src/js/player.js

@@ -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');