From dd5620789212b68baae1cdb027f6b277dd01c7d0 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 21 Nov 2022 14:26:54 -0800 Subject: [PATCH 1/2] fix update form listener Signed-off-by: Arthur Lu --- source/assets/scripts/ReviewDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/assets/scripts/ReviewDetails.js b/source/assets/scripts/ReviewDetails.js index d957561..6ce512c 100644 --- a/source/assets/scripts/ReviewDetails.js +++ b/source/assets/scripts/ReviewDetails.js @@ -67,7 +67,7 @@ function setupUpdate(){ let updateBtn = document.getElementById("update-btn"); let currID = JSON.parse(sessionStorage.getItem("currID")); let currReview = getReviewFromStorage(currID); - let form = document.getElementById("update-food-entry"); + let form = document.getElementById("update-form"); let updateDiv = document.getElementById("update-form"); updateBtn.addEventListener("click", function(){ //update function From 1cbefee26f6c74814b9ea4052ab4e33f504acc17 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 21 Nov 2022 14:37:37 -0800 Subject: [PATCH 2/2] fix favicon linking Signed-off-by: Arthur Lu --- source/CreatePage.html | 4 +++- source/ReviewDetails.html | 27 ++++++++++++++++----------- source/index.html | 3 +++ 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/source/CreatePage.html b/source/CreatePage.html index 4286fd6..4ea9154 100644 --- a/source/CreatePage.html +++ b/source/CreatePage.html @@ -7,6 +7,9 @@ Food Journal + + + @@ -16,7 +19,6 @@ - diff --git a/source/ReviewDetails.html b/source/ReviewDetails.html index 4f50e59..1cd7fc4 100644 --- a/source/ReviewDetails.html +++ b/source/ReviewDetails.html @@ -6,18 +6,23 @@ Food Journal - - + + + + + + + - - - - - - - - -
+ + + + + + + + +
logo

Food Journal

diff --git a/source/index.html b/source/index.html index 9e3e116..b41940b 100644 --- a/source/index.html +++ b/source/index.html @@ -7,6 +7,9 @@ Food Journal + + +