nagasurendra commited on
Commit
c91af91
·
verified ·
1 Parent(s): 5c3fd6b

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +1 -0
templates/menu.html CHANGED
@@ -177,6 +177,7 @@
177
  document.getElementById('modal-img').src = image || '/static/placeholder.jpg';
178
  document.getElementById('modal-description').innerText = description || 'No description available.';
179
  document.getElementById('addons-list').innerHTML = 'Loading add-ons...';
 
180
  // Fetch add-ons dynamically based on item Name
181
  fetch(`/api/addons?item_name=${encodeURIComponent(name)}`)
182
  .then(response => response.json())
 
177
  document.getElementById('modal-img').src = image || '/static/placeholder.jpg';
178
  document.getElementById('modal-description').innerText = description || 'No description available.';
179
  document.getElementById('addons-list').innerHTML = 'Loading add-ons...';
180
+ document.getElementById('modal-instructions').value = '';
181
  // Fetch add-ons dynamically based on item Name
182
  fetch(`/api/addons?item_name=${encodeURIComponent(name)}`)
183
  .then(response => response.json())