From b6512adf2a5f9aa54fc879c2ced3e0b4d010bfe2 Mon Sep 17 00:00:00 2001 From: Phill Date: Tue, 6 Aug 2019 22:46:00 +0100 Subject: [PATCH] Fixes --- openlp/core/display/html/display.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openlp/core/display/html/display.js b/openlp/core/display/html/display.js index cc44b9171..56e3c0a48 100644 --- a/openlp/core/display/html/display.js +++ b/openlp/core/display/html/display.js @@ -478,7 +478,7 @@ var Display = { playVideo: function () { var videoElem = $("#video"); if (videoElem.length == 1) { - $("#video")[0].play(); + videoElem[0].play(); } }, /** @@ -486,7 +486,7 @@ var Display = { */ pauseVideo: function () { var videoElem = $("#video"); - if ($videoElem.length == 1) { + if (videoElem.length == 1) { videoElem[0].pause(); } }, @@ -728,7 +728,6 @@ var Display = { for (var key in mainStyle) { if (mainStyle.hasOwnProperty(key)) { slidesDiv.style.setProperty(key, mainStyle[key]); - console.log(slidesDiv.style.getPropertyValue("font-family")); } } // Set up the footer