Explorar o código

Fix bug on recipe page

Lee Morgan %!s(int64=6) %!d(string=hai) anos
pai
achega
033e6e7a14
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
         }