From 790c9018ae8a621e0f708fae35b8e2cbfc4f5ad9 Mon Sep 17 00:00:00 2001 From: TechRunner Date: Thu, 16 Oct 2025 10:01:16 -0500 Subject: [PATCH] Removed unused code --- javascript/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/post.js b/javascript/post.js index 3ac2ecd..f98d0f8 100644 --- a/javascript/post.js +++ b/javascript/post.js @@ -9,7 +9,7 @@ fetch("/pages/blog/"+search+".json").then(response => response.json()).then(data postSubTitle.textContent = data.subTitle; postDate.textContent = "Posted: " + data.date; postText.textContent = data.postText; -}).catch(error => console.error("Error Fetching Json"));post = JSON.parse(postContent) +}).catch(error => console.error("Error Fetching Json"));