nagasurendra commited on
Commit
afcdcac
·
verified ·
1 Parent(s): ba2cc55

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +1 -1
templates/menu.html CHANGED
@@ -661,7 +661,7 @@ function showItemDetails(name, price, image, description, section, selectedCateg
661
 
662
  // First pass: Find and select the highest-count spice level
663
  for (let spice of window.most_common_addons) {
664
- const isSpiceLevel = ["Mild", "Medium", "Extra Spicy", "Hot"].includes(spice); // Define valid spice levels
665
  if (isSpiceLevel) {
666
  checkboxes.forEach(checkbox => {
667
  const checkboxName = checkbox.getAttribute('data-name').trim();
 
661
 
662
  // First pass: Find and select the highest-count spice level
663
  for (let spice of window.most_common_addons) {
664
+ const isSpiceLevel = ["Mild", "Medium", "Spicy", "Extra Spicy"].includes(spice); // Define valid spice levels
665
  if (isSpiceLevel) {
666
  checkboxes.forEach(checkbox => {
667
  const checkboxName = checkbox.getAttribute('data-name').trim();