mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Compare all upper case
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user