diff --git a/core/code/portal_marker.js b/core/code/portal_marker.js index 9505c903a..5be3898ae 100644 --- a/core/code/portal_marker.js +++ b/core/code/portal_marker.js @@ -77,7 +77,7 @@ L.PortalMarker = L.CircleMarker.extend({ }, updateDetails: function(details) { // portal has been moved - if (this.details) { + if (this._details) { if (this._details.latE6 !== details.latE6 || this._details.lngE6 !== details.lngE6) this.setLatLng(L.latLng(details.latE6/1E6, details.lngE6/1E6));