mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-30 19:46:49 +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"); | 		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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user