diff --git a/files/templates/default.html b/files/templates/default.html index 276ad50e1..08b7a9711 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -453,7 +453,7 @@ // Expand Images on Desktop - function expandDesktopImage(image, link) { + function expandDesktopImage(image) { // Link text @@ -470,7 +470,7 @@ }; - function expandDesktopVideo(video, link) { + function expandDesktopVideo(video) { // Link text @@ -479,9 +479,9 @@ var inlineVideo = document.getElementById("desktop-expanded-video"); - inlineVideo.src = Video + "?controls=0"; - linkText.href = Video; - imgLink.href=Video; + inlineVideo.src = video + "?controls=0"; + linkText.href = video; + imgLink.href = video; linkText.textContent = 'View original'; }; diff --git a/files/templates/expanded_video_modal.html b/files/templates/expanded_video_modal.html index 533e42295..1461ec876 100644 --- a/files/templates/expanded_video_modal.html +++ b/files/templates/expanded_video_modal.html @@ -7,7 +7,9 @@