From e4a595bacc6b08df887e05e0e4319e17bcf09758 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Wed, 25 May 2022 12:05:44 -0400 Subject: [PATCH] No more + signs in attribution titles --- scripts/overview.php | 2 +- scripts/todays_detections.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/overview.php b/scripts/overview.php index f556698..3f97d96 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -222,7 +222,7 @@ body::-webkit-scrollbar { } function setModalText(iter, title, text, authorlink, photolink) { - document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replace("+"," "))+"\" Attribution"; + document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replaceAll("+"," "))+"\" Attribution"; document.getElementById('modalText').innerHTML = "