fix comparing of PLAYER.team with team in portal data (#929)

also, fix portals-list plugin from defaulting to the wrong sort column when bookmnarks plugin is active, and changed default sort order to decending for several columns
This commit is contained in:
Jon Atkins
2015-01-16 16:02:50 +00:00
parent bfdedaa642
commit 634c0fd0e0
2 changed files with 18 additions and 9 deletions

View File

@ -237,7 +237,7 @@ window.getAttackApGainText = function(d,fieldCount,linkCount) {
function tt(text) {
var t = '';
if (PLAYER.team == d.team) {
if (teamStringToId(PLAYER.team) == teamStringToId(d.team)) {
totalGain = breakdown.friendlyAp;
t += 'Friendly AP:\t' + breakdown.friendlyAp + '\n';
t += ' Deploy ' + breakdown.deployCount + ', ';