From 2c77964b1ac41625f0e22d108aa1e715d3279aee Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Thu, 27 Apr 2023 14:53:02 -0400 Subject: [PATCH] fix #876 --- scripts/overview.php | 6 +++--- scripts/stats.php | 5 +++-- scripts/todays_detections.php | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/overview.php b/scripts/overview.php index 9cf96d4..6b9f52f 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -309,8 +309,8 @@ body::-webkit-scrollbar {
- +

@@ -349,7 +349,7 @@ body::-webkit-scrollbar { function setModalText(iter, title, text, authorlink, photolink, licenseurl) { document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replaceAll("+"," "))+"\" Attribution"; - document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; + document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; last_photo_link = text; showDialog(); } diff --git a/scripts/stats.php b/scripts/stats.php index 9b6da18..6706bfc 100644 --- a/scripts/stats.php +++ b/scripts/stats.php @@ -142,7 +142,8 @@ tr:first-child td {
- +

@@ -162,7 +163,7 @@ function hideDialog() { function setModalText(iter, title, text, authorlink) { document.getElementById('modalHeading').innerHTML = "Photo "+iter+": \""+title+"\" Attribution"; - document.getElementById('modalText').innerHTML = "Image link: "+text+"
Author link: "+authorlink+""; + document.getElementById('modalText').innerHTML = "
Image link: "+text+"
Author link: "+authorlink+"
"; showDialog(); } diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 15cde37..773a388 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -419,8 +419,8 @@ die();
- +

@@ -461,9 +461,9 @@ die(); function setModalText(iter, title, text, authorlink, photolink, licenseurl) { document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replaceAll("+"," "))+"\" Attribution"; - document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; + document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; - document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; + document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; last_photo_link = text; showDialog();