Spaces:
Sleeping
Sleeping
Update templates/menu.html
#1
by
geethareddy
- opened
- templates/menu.html +2 -2
templates/menu.html
CHANGED
@@ -1367,7 +1367,7 @@
|
|
1367 |
|
1368 |
softDrinkIncreaseBtn.addEventListener('click', function() {
|
1369 |
let currentQuantity = parseInt(softDrinkQuantityInput.value);
|
1370 |
-
if (currentQuantity <
|
1371 |
currentQuantity++;
|
1372 |
softDrinkQuantityInput.value = currentQuantity;
|
1373 |
}
|
@@ -1497,7 +1497,7 @@
|
|
1497 |
|
1498 |
function handleAddonClick(checkbox) {
|
1499 |
const groupName = checkbox.getAttribute('data-group');
|
1500 |
-
const isMultiSelectGroup = ["Extra Toppings", "Choose Raita/Sides", "Select Dip/Sauce", "Extra Add-ons", "Make it a Combo"].includes(groupName);
|
1501 |
if (!isMultiSelectGroup) {
|
1502 |
const checkboxes = document.querySelectorAll(`.addon-option[data-group="${groupName}"]`);
|
1503 |
checkboxes.forEach(otherCheckbox => {
|
|
|
1367 |
|
1368 |
softDrinkIncreaseBtn.addEventListener('click', function() {
|
1369 |
let currentQuantity = parseInt(softDrinkQuantityInput.value);
|
1370 |
+
if (currentQuantity < 1000) {
|
1371 |
currentQuantity++;
|
1372 |
softDrinkQuantityInput.value = currentQuantity;
|
1373 |
}
|
|
|
1497 |
|
1498 |
function handleAddonClick(checkbox) {
|
1499 |
const groupName = checkbox.getAttribute('data-group');
|
1500 |
+
const isMultiSelectGroup = ["Extra Toppings", "Choose Raita/Sides", "Select Dip/Sauce", "Extra Add-ons", "Make it a Combo","Beverages","Sauces"].includes(groupName);
|
1501 |
if (!isMultiSelectGroup) {
|
1502 |
const checkboxes = document.querySelectorAll(`.addon-option[data-group="${groupName}"]`);
|
1503 |
checkboxes.forEach(otherCheckbox => {
|