mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-10 05:34:44 +00:00
fix ReviewCard.js element id issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
11b152fec9
commit
eb3133c676
@ -256,7 +256,7 @@ class ReviewCard extends HTMLElement {
|
|||||||
dataContainer["mealImg"] = mealImg.getAttribute("src");
|
dataContainer["mealImg"] = mealImg.getAttribute("src");
|
||||||
|
|
||||||
//get meal name
|
//get meal name
|
||||||
let mealLabel = this.shadowEl.getElementById("a-mealName");
|
let mealLabel = this.shadowEl.getElementById("a-meal-name");
|
||||||
dataContainer["mealName"] = mealLabel.innerHTML;
|
dataContainer["mealName"] = mealLabel.innerHTML;
|
||||||
|
|
||||||
//get comment section
|
//get comment section
|
||||||
|
Loading…
Reference in New Issue
Block a user