nagasurendra commited on
Commit
8edf75f
·
verified ·
1 Parent(s): 8d4d1b3

Update templates/reward_status.html

Browse files
Files changed (1) hide show
  1. templates/reward_status.html +2 -0
templates/reward_status.html CHANGED
@@ -210,6 +210,7 @@
210
  </div>
211
 
212
  <script>
 
213
  function showIngredientDetails(name, image, healthBenefits, funFacts) {
214
  // Split the health benefits and fun facts by commas
215
  const healthBenefitsList = healthBenefits.split(',');
@@ -241,6 +242,7 @@
241
  document.getElementById("ingredientModal").style.display = "block";
242
  }
243
 
 
244
  function closeModal() {
245
  document.getElementById("ingredientModal").style.display = "none";
246
  }
 
210
  </div>
211
 
212
  <script>
213
+ // Show Ingredient Details in the Modal
214
  function showIngredientDetails(name, image, healthBenefits, funFacts) {
215
  // Split the health benefits and fun facts by commas
216
  const healthBenefitsList = healthBenefits.split(',');
 
242
  document.getElementById("ingredientModal").style.display = "block";
243
  }
244
 
245
+ // Close the modal
246
  function closeModal() {
247
  document.getElementById("ingredientModal").style.display = "none";
248
  }