From 9eb596351dfdde45faea8cfb3327a435d744a67c Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 14 Jan 2026 22:44:43 +0000 Subject: [PATCH] Reset comment at start of line iteration Moved the comment reset to the beginning of each line iteration in handleInput(), ensuring comments are cleared before processing each row. This prevents comments from persisting across lines and fixes potential data carryover issues. --- assets/js/sections/simplefle.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/js/sections/simplefle.js b/assets/js/sections/simplefle.js index cc6d79c25..71a058641 100644 --- a/assets/js/sections/simplefle.js +++ b/assets/js/sections/simplefle.js @@ -188,6 +188,9 @@ function handleInput() { var rst_s = null; var rst_r = null; + // Reset comment at the beginning of each line iteration + comment = ""; + // Extract comment from angle brackets < > var commentMatch = row.match(/<([^>]+)>/); if (commentMatch) { @@ -472,7 +475,6 @@ function handleInput() { callsign = ""; sotaWwff = ""; gridsquare = ""; - comment = ""; // Don't reset satellite info - it persists for multiple QSOs }