From 99f86c560c3929babbfcee013887883cbb529623 Mon Sep 17 00:00:00 2001 From: Github Actions reports Date: Sun, 2 Feb 2025 18:24:33 +0000 Subject: [PATCH] Fix text element in SVG --- browser-extensions/common/js/lib/challenges_ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-extensions/common/js/lib/challenges_ui.js b/browser-extensions/common/js/lib/challenges_ui.js index 168fa34a..d5e268d8 100644 --- a/browser-extensions/common/js/lib/challenges_ui.js +++ b/browser-extensions/common/js/lib/challenges_ui.js @@ -396,7 +396,7 @@ function createVoronoiMapPrototype() { item_text.setAttribute("font-size", zoomScaleOptions.eventNameTextSize+"px") item_text.setAttribute("font-weight", "bold") item_text.setAttribute("dominant-baseline", "hanging") // Hang the text below - item_text.innerText = filtered_points[index].name + item_text.textContent = filtered_points[index].name } // Create a shape to represent the voronoi area associated with this parkrun event