nagasurendra commited on
Commit
9044894
·
verified ·
1 Parent(s): a5033dd

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -69,7 +69,7 @@ function handleResponse(userInput) {
69
  return;
70
  } else if (lastMessage.includes('yes') && selectedMenuItem) {
71
  botResponse = 'Here are some ingredients to customize your dish:';
72
- fetchIngredients('non-vegetarian'); // Fetch non-veg ingredients for customization
73
  return;
74
  } else if (lastMessage.includes('no') && selectedMenuItem) {
75
  addToCart(selectedMenuItem);
 
69
  return;
70
  } else if (lastMessage.includes('yes') && selectedMenuItem) {
71
  botResponse = 'Here are some ingredients to customize your dish:';
72
+ fetchIngredients('both'); // Fetch non-veg ingredients for customization
73
  return;
74
  } else if (lastMessage.includes('no') && selectedMenuItem) {
75
  addToCart(selectedMenuItem);