Skip to content

Commit 7dab270

Browse files
Another && to || fix
1 parent 2220414 commit 7dab270

File tree

1 file changed

+1
-1
lines changed
  • Source/RunActivity/Viewer3D/WebServices/Web/Map

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/WebServices/Web/Map/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function ApiMap() {
4848
if (responseText.length > 0) {
4949
latLon = responseText.split(" ");
5050
if (typeof locomotivMarker !== 'undefined') {
51-
if ((latLon[0] != latLonPrev[0]) && (latLon[1] != latLonPrev[1])) {
51+
if ((latLon[0] != latLonPrev[0]) || (latLon[1] != latLonPrev[1])) {
5252
map.panTo(latLon);
5353
}
5454
} else {

0 commit comments

Comments
 (0)