From 47edac3a33ee7026b9dab81bb816038463202f74 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Fri, 28 Jan 2022 18:53:00 -0600 Subject: [PATCH] Fix markup label handling on areas, lines, circles --- DynmapCore/src/main/resources/extracted/web/js/markers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DynmapCore/src/main/resources/extracted/web/js/markers.js b/DynmapCore/src/main/resources/extracted/web/js/markers.js index 6f04eb93..a4529ede 100644 --- a/DynmapCore/src/main/resources/extracted/web/js/markers.js +++ b/DynmapCore/src/main/resources/extracted/web/js/markers.js @@ -185,7 +185,7 @@ componentconstructors['markers'] = function(dynmap, configuration) { $(popup).addClass('AreaPopup').append(area.desc); } else { - $(popup).text(area.label); + $(popup).append(area.label); } area.our_layer.bindPopup($(popup).html(), {}); } @@ -215,7 +215,7 @@ componentconstructors['markers'] = function(dynmap, configuration) { $(popup).addClass('LinePopup').append(line.desc); } else { - $(popup).text(line.label); + $(popup).append(line.label); } line.our_layer.bindPopup($(popup).html(), {}); } @@ -247,7 +247,7 @@ componentconstructors['markers'] = function(dynmap, configuration) { $(popup).addClass('CirclePopup').append(circle.desc); } else { - $(popup).text(circle.label); + $(popup).append(circle.label); } circle.our_layer.bindPopup($(popup).html(), {}); }