Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages
This commit is contained in:
commit
978cf11965
@ -314,11 +314,14 @@ window.renderResonators = function(ent, portalLayer) {
|
||||
if(portalLayer) {
|
||||
var oldRes = findEntityInLeaflet(layerGroup, window.resonators, portalResonatorGuid(ent[0], i));
|
||||
if(oldRes && isSameResonator(oldRes.options.details, rdata)) return true;
|
||||
if(oldRes) {
|
||||
if(isSameResonator(oldRes.options.details, rdata)) return true;
|
||||
removeByGuid(oldRes.options.guid);
|
||||
}
|
||||
}
|
||||
|
||||
// skip and remove old resonator if no new resonator
|
||||
if(rdata === null) {
|
||||
if(oldRes) removeByGuid(oldRes.options.guid);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user