Update templates/menu.html (#5)
Browse files- Update templates/menu.html (b62b68f31c31255470dbcc6feb9aa349f3da4d3a)
Co-authored-by: geetha <[email protected]>
- templates/menu.html +2 -2
templates/menu.html
CHANGED
@@ -1432,7 +1432,7 @@
|
|
1432 |
|
1433 |
softDrinkIncreaseBtn.addEventListener('click', function() {
|
1434 |
let currentQuantity = parseInt(softDrinkQuantityInput.value);
|
1435 |
-
if (currentQuantity <
|
1436 |
currentQuantity++;
|
1437 |
softDrinkQuantityInput.value = currentQuantity;
|
1438 |
}
|
@@ -1559,7 +1559,7 @@
|
|
1559 |
|
1560 |
function handleAddonClick(checkbox) {
|
1561 |
const groupName = checkbox.getAttribute('data-group');
|
1562 |
-
const isMultiSelectGroup = ["Extra Toppings", "Choose Raita/Sides", "Select Dip/Sauce", "Extra Add-ons", "Make it a Combo"].includes(groupName);
|
1563 |
if (!isMultiSelectGroup) {
|
1564 |
const checkboxes = document.querySelectorAll(`.addon-option[data-group="${groupName}"]`);
|
1565 |
checkboxes.forEach(otherCheckbox => {
|
|
|
1432 |
|
1433 |
softDrinkIncreaseBtn.addEventListener('click', function() {
|
1434 |
let currentQuantity = parseInt(softDrinkQuantityInput.value);
|
1435 |
+
if (currentQuantity < 500) {
|
1436 |
currentQuantity++;
|
1437 |
softDrinkQuantityInput.value = currentQuantity;
|
1438 |
}
|
|
|
1559 |
|
1560 |
function handleAddonClick(checkbox) {
|
1561 |
const groupName = checkbox.getAttribute('data-group');
|
1562 |
+
const isMultiSelectGroup = ["Extra Toppings", "Choose Raita/Sides", "Select Dip/Sauce", "Extra Add-ons", "Make it a Combo","Beverages","Sauces"].includes(groupName);
|
1563 |
if (!isMultiSelectGroup) {
|
1564 |
const checkboxes = document.querySelectorAll(`.addon-option[data-group="${groupName}"]`);
|
1565 |
checkboxes.forEach(otherCheckbox => {
|