Browse Source

Fix bug on recipe page

Lee Morgan 6 năm trước cách đây
mục cha
commit
033e6e7a14
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
         }