Fix comment.
This commit is contained in:
parent
864b4c66dd
commit
045db7fe90
@ -120,7 +120,7 @@ window.renderPortalDetails = function(guid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// draws link-range and hack-range circles around the portal with the
|
// draws link-range and hack-range circles around the portal with the
|
||||||
// given details. Clear them if parameter 'd' is null
|
// given details. Clear them if parameter 'd' is null.
|
||||||
window.setPortalIndicators = function(d) {
|
window.setPortalIndicators = function(d) {
|
||||||
if(portalRangeIndicator) map.removeLayer(portalRangeIndicator);
|
if(portalRangeIndicator) map.removeLayer(portalRangeIndicator);
|
||||||
portalRangeIndicator = null;
|
portalRangeIndicator = null;
|
||||||
@ -156,7 +156,7 @@ window.selectPortal = function(guid) {
|
|||||||
// Restore style of unselected portal
|
// Restore style of unselected portal
|
||||||
if(!update && oldPortal) setMarkerStyle(oldPortal,false);
|
if(!update && oldPortal) setMarkerStyle(oldPortal,false);
|
||||||
|
|
||||||
// Change style of unselected portal
|
// Change style of selected portal
|
||||||
if(newPortal) {
|
if(newPortal) {
|
||||||
setMarkerStyle(newPortal, true);
|
setMarkerStyle(newPortal, true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user