소스 검색

Fix bug on recipe page

Lee Morgan 6 년 전
부모
커밋
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(){
         let recipeList = document.querySelector("#recipeList");
 
+        this.recipeDivList = [];
         while(recipeList.children.length > 0){
             recipeList.removeChild(recipeList.firstChild);
         }