]> git.parisson.com Git - mezzo.git/commitdiff
Fix a video.js bug
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Fri, 21 Oct 2016 09:26:25 +0000 (11:26 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Fri, 21 Oct 2016 09:26:25 +0000 (11:26 +0200)
app/static/src/js/modules/video.js

index 4cb68fcfe18bbe9bf1ee78bb74b1a2622a57d46b..e23518a44323cb9934c5f2020766115d79f1be00 100644 (file)
@@ -5,7 +5,9 @@ var Video = function() {
     //
     // Init
     //
-    this.init();
+    if($('#video-js-playlist').length > 0) {
+        this.init();
+    }
 
 };