From 79398bb22d2a68f2f1901083b1b71f95258ecc58 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 8 Aug 2021 20:54:34 +0200 Subject: [PATCH] fd --- files/templates/default.html | 10 +++++----- files/templates/expanded_video_modal.html | 4 +++- files/templates/submission_listing.html | 17 ++++++++++++----- 3 files changed, 20 insertions(+), 11 deletions(-) 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 @@