From e984ffa0b1b1106151efd6f57f40e0565c39d0b1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 18 Feb 2022 09:33:51 -0500 Subject: Make the planner decently printable. --- js/garden.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js') diff --git a/js/garden.js b/js/garden.js index 046943a..12a5fc4 100644 --- a/js/garden.js +++ b/js/garden.js @@ -696,10 +696,10 @@ function refreshTable(crops, season, schedule) { function createCropRow(crop, schedule) { function icon(name) { - const img = document.createElement("img"); - img.classList.add("icon"); - img.src = `images/${name}.svg`; - return img; + const icon = document.createElement("span"); + icon.classList.add("icon"); + icon.classList.add(`icon-${name}`); + return icon; } const row = document.createElement("tr"); -- cgit v1.2.3