소스 검색

Fix recipe page title not changing back.

Lee Morgan 6 년 전
부모
커밋
5ad82c05f9
2개의 변경된 파일2개의 추가작업 그리고 1157개의 파일을 삭제
  1. 0 1157
      package-lock.json
  2. 2 0
      views/recipesPage/recipes.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1157
package-lock.json


+ 2 - 0
views/recipesPage/recipes.js

@@ -4,6 +4,7 @@ let recipesPage = {
     displayRecipes: function(){
         document.querySelector("#recipes").style.display = "flex";
         document.querySelector("#ingredient").style.display = "none";
+        document.querySelector("#title").innerText = "Recipes";
 
         let body = document.querySelector("#recipesContainer");
 
@@ -81,6 +82,7 @@ let recipesPage = {
         }
     },
 
+    //Display the box in the table for adding another ingredient to a recipe
     displayAdd: function(recipe){
         let tbody = document.querySelector("tbody");
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.