|
|
@@ -1,6 +1,5 @@
|
|
|
module.exports = {
|
|
|
display: function(Recipe){
|
|
|
- console.log("display");
|
|
|
let ingredientsSelect = document.querySelector("#recipeInputIngredients select");
|
|
|
let categories = merchant.categorizeIngredients();
|
|
|
|
|
|
@@ -27,7 +26,6 @@ module.exports = {
|
|
|
|
|
|
//Updates the number of ingredient inputs displayed for new recipes
|
|
|
changeRecipeCount: function(){
|
|
|
- console.log("doing things");
|
|
|
let newCount = document.getElementById("ingredientCount").value;
|
|
|
let ingredientsDiv = document.getElementById("recipeInputIngredients");
|
|
|
let oldCount = ingredientsDiv.children.length;
|
|
|
@@ -103,7 +101,6 @@ module.exports = {
|
|
|
}
|
|
|
})
|
|
|
.catch((err)=>{
|
|
|
- console.log(err);
|
|
|
banner.createError("SOMETHING WENT WRONG. PLEASE REFRESH THE PAGE");
|
|
|
})
|
|
|
.finally(()=>{
|