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