This commit is contained in:
Phill 2019-08-06 22:46:00 +01:00
parent a950a9bcce
commit b6512adf2a

View File

@ -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