Fix comment.

This commit is contained in:
Xelio 2013-09-05 02:32:59 +08:00
parent 864b4c66dd
commit 045db7fe90

View File

@ -120,7 +120,7 @@ window.renderPortalDetails = function(guid) {
}
// 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) {
if(portalRangeIndicator) map.removeLayer(portalRangeIndicator);
portalRangeIndicator = null;
@ -156,7 +156,7 @@ window.selectPortal = function(guid) {
// Restore style of unselected portal
if(!update && oldPortal) setMarkerStyle(oldPortal,false);
// Change style of unselected portal
// Change style of selected portal
if(newPortal) {
setMarkerStyle(newPortal, true);