DIYgod 5 rokov pred
rodič
commit
284c30c1f8
1 zmenil súbory, kde vykonal 2 pridanie a 3 odobranie
  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');