From d632fdd2d388e53d2a3ef5e07e39afd225777247 Mon Sep 17 00:00:00 2001 From: Xelio Date: Sat, 16 Feb 2013 01:28:19 +0800 Subject: [PATCH] Code restructure - 3 --- code/map_data.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/map_data.js b/code/map_data.js index 06531e86..6fb90542 100644 --- a/code/map_data.js +++ b/code/map_data.js @@ -281,9 +281,8 @@ window.renderPortal = function(ent) { window.portals[this.options.guid] = this; // handles the case where a selected portal gets removed from the // map by hiding all portals with said level - if(window.selectedPortal != this.options.guid) { + if(window.selectedPortal != this.options.guid) window.portalResetColor(this); - } }); p.on('click', function() { window.renderPortalDetails(ent[0]); });