From af283344656f1ecb0d616a959101eacb2ce3839b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Fri, 21 Oct 2016 11:26:25 +0200 Subject: [PATCH] Fix a video.js bug --- app/static/src/js/modules/video.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/static/src/js/modules/video.js b/app/static/src/js/modules/video.js index 4cb68fcf..e23518a4 100644 --- a/app/static/src/js/modules/video.js +++ b/app/static/src/js/modules/video.js @@ -5,7 +5,9 @@ var Video = function() { // // Init // - this.init(); + if($('#video-js-playlist').length > 0) { + this.init(); + } }; -- 2.39.5