Lee Morgan 6 лет назад
Родитель
Сommit
033e6e7a14
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      views/dashboardPage/recipeBook.js

+ 1 - 0
views/dashboardPage/recipeBook.js

@@ -13,6 +13,7 @@ window.recipeBookStrandObj = {
     populateRecipes: function(){
     populateRecipes: function(){
         let recipeList = document.querySelector("#recipeList");
         let recipeList = document.querySelector("#recipeList");
 
 
+        this.recipeDivList = [];
         while(recipeList.children.length > 0){
         while(recipeList.children.length > 0){
             recipeList.removeChild(recipeList.firstChild);
             recipeList.removeChild(recipeList.firstChild);
         }
         }