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();