From 75b50a2b9fed8a09c59776036eb568ca5e37bcb5 Mon Sep 17 00:00:00 2001 From: phl0 Date: Sat, 24 Jan 2026 15:55:38 +0100 Subject: [PATCH] Compare all upper case --- assets/js/sections/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js index 2beea9100..280f0dba4 100644 --- a/assets/js/sections/common.js +++ b/assets/js/sections/common.js @@ -1245,7 +1245,7 @@ function newpath(latlng1, latlng2, locator1, locator2) { }, }).setView([30, 0], 1.5); - if (locator1 != locator2) { + if (locator1.toUpperCase() != locator2.toUpperCase()) { // Need to fix so that marker is placed at same place as end of line, but this only needs to be done when longitude is < -170 if (latlng2[1] < -170) {