From 0af83d69332b695526c21b53e403879d1d945b93 Mon Sep 17 00:00:00 2001 From: Dou11112 <143168339+Dou11112@users.noreply.github.com> Date: Tue, 5 Dec 2023 21:50:52 -0600 Subject: [PATCH] Update index.html fixed "populating the comments after delete --- templates/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 05c8953..d37f0e7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1048,6 +1048,9 @@

Delete Comment

document.querySelector('[name="routeId1"]').value = ''; document.querySelector('[name="category1"]').value = ''; + // load the comments again + fetchUserComments(userEmail); + }) .catch((error) => { console.error('Error:', error); @@ -1248,4 +1251,4 @@

Delete Comment

--> - \ No newline at end of file +