diff options
-rw-r--r-- | js/garden.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/garden.js b/js/garden.js index 6987c57..d5efe54 100644 --- a/js/garden.js +++ b/js/garden.js @@ -460,14 +460,14 @@ function viewCropDetails(crop) { const overlay = document.createElement("div"); const modal = document.createElement("div"); const heading = document.createElement("h2"); - const subheading = document.createElement("h4"); + const subheading = document.createElement("span"); const speciesDetail = `(${crop.species.join(", ")})`; heading.appendChild(document.createTextNode(crop.name)); subheading.appendChild(document.createTextNode(speciesDetail)); subheading.classList.add("detail-subheading"); modal.classList.add("modal"); modal.appendChild(heading); - modal.appendChild(subheading); + heading.appendChild(subheading); addDetail("Average time to maturity", `${crop.maturity} weeks from ${crop.transplant ? "transplant" : "seed"}`); if(crop.springPlant == -1) { @@ -502,7 +502,7 @@ function viewCropDetails(crop) { addDetail("Succession planting interval", `Every ${crop.interval} weeks`); } if(crop.multisow > 1) { - addDetail("Multisow", `${crop.multisow} seeds per module`); + addDetail("Multisow", `${crop.multisow} plants per hole (after thinning)`); } else { addDetail("Multisow", "No"); } |