Procházet zdrojové kódy

Fix recipe page title not changing back.

Lee Morgan před 6 roky
rodič
revize
5ad82c05f9
2 změnil soubory, kde provedl 2 přidání a 1157 odebrání
  1. 0 1157
      package-lock.json
  2. 2 0
      views/recipesPage/recipes.js

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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");
 

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů