nagasurendra commited on
Commit
7ff7aed
·
verified ·
1 Parent(s): 7c1a759

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +3 -3
templates/menu.html CHANGED
@@ -215,9 +215,9 @@
215
  document.getElementById('modal-description').innerText = description || 'No description available.';
216
  document.getElementById('addons-list').innerHTML = 'Loading add-ons...';
217
  document.getElementById('modal-instructions').value = '';
218
- // document.getElementById('modal-section').innerText = section || 'No section available'; // Show section
219
- //document.getElementById('modal-section').setAttribute('data-section', section);
220
- //document.getElementById('modal-section').setAttribute('data-category', selectedCategory);
221
  // Fetch add-ons dynamically based on item Name
222
  fetch(`/api/addons?item_name=${encodeURIComponent(name)}`)
223
  .then(response => response.json())
 
215
  document.getElementById('modal-description').innerText = description || 'No description available.';
216
  document.getElementById('addons-list').innerHTML = 'Loading add-ons...';
217
  document.getElementById('modal-instructions').value = '';
218
+ document.getElementById('modal-section').innerText = section || 'No section available'; // Show section
219
+ document.getElementById('modal-section').setAttribute('data-section', section);
220
+ document.getElementById('modal-section').setAttribute('data-category', selectedCategory);
221
  // Fetch add-ons dynamically based on item Name
222
  fetch(`/api/addons?item_name=${encodeURIComponent(name)}`)
223
  .then(response => response.json())