Spaces:
Runtime error
Runtime error
Update templates/menu.html
Browse files- 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 |
-
|
| 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())
|