From 78b009abffb31be79dbf3e7a83a8d1ddc61057d4 Mon Sep 17 00:00:00 2001
From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com>
Date: Fri, 20 May 2022 08:34:01 -0400
Subject: [PATCH] Fixing bugs
---
scripts/overview.php | 4 ++--
scripts/todays_detections.php | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/scripts/overview.php b/scripts/overview.php
index 388476a..f05ceea 100644
--- a/scripts/overview.php
+++ b/scripts/overview.php
@@ -86,7 +86,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
- 
+
|
@@ -130,7 +130,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
|
|
- Confidence:
|
+ Confidence:
|
|
@@ -180,7 +180,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
}
function setModalText(iter, title, text, authorlink, photolink) {
- document.getElementById('modalHeading').innerHTML = "Photo: \""+title+"\" Attribution";
+ document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title).replace("+"," ")+"\" Attribution";
document.getElementById('modalText').innerHTML = "
";
showDialog();
}
@@ -211,7 +211,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
Today's Detections —
-
+ Loading...