From cdd31677289d3770fdcca5138fc771513104b877 Mon Sep 17 00:00:00 2001 From: Zhora Shalyapin Date: Tue, 15 Apr 2025 07:11:56 +0000 Subject: [PATCH] fix messing variable --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 21288ee..6fc6722 100644 --- a/main.js +++ b/main.js @@ -1449,7 +1449,7 @@ ]) } - function makeLegend(rows) { + function makeLegend(container, rows) { let legendContainer = Tag.div({ classes: "legend-container" }) @@ -2080,7 +2080,7 @@ /* LEGEND */ - let legendContainer = makeLegend(rows) + let legendContainer = makeLegend(container, rows) legendContainer.append(makeLegendFiles(rows)) /* APPEND ALL */