Fix neutral portals have broken random details

This commit is contained in:
Kevin
2013-03-02 22:54:30 -08:00
parent 321c744658
commit f3606d6f0f
3 changed files with 3 additions and 4 deletions

View File

@ -22,9 +22,8 @@ window.renderPortalDetails = function(guid) {
var linksText = [linkExpl('links'), linkExpl(' ↳ ' + links.incoming+'  •  '+links.outgoing+' ↴')];
var player = d.captured && d.captured.capturingPlayerId
? getPlayerName(d.captured.capturingPlayerId)
? '<span class="nickname">' + getPlayerName(d.captured.capturingPlayerId) + '</span>'
: null;
player = '<span class="nickname">'+player+'</span>';
var playerText = player ? ['owner', player] : null;
var time = d.captured