player tracker: guess player levels integration: remove special case for L8, as in the earlier commit for guess player levels - this plugin does it's own formatting

This commit is contained in:
Jon Atkins
2015-02-27 02:03:43 +00:00
parent b42fbe8574
commit b42b19b983

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-player-tracker@breunigs // @id iitc-plugin-player-tracker@breunigs
// @name IITC Plugin: Player tracker // @name IITC Plugin: Player tracker
// @category Layer // @category Layer
// @version 0.11.0.@@DATETIMEVERSION@@ // @version 0.11.1.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@ // @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@ // @downloadURL @@DOWNLOADURL@@
@ -332,11 +332,6 @@ window.plugin.playerTracker.drawData = function() {
.appendTo(popup); .appendTo(popup);
var playerLevelDetails = window.plugin.guessPlayerLevels.fetchLevelDetailsByPlayer(plrname); var playerLevelDetails = window.plugin.guessPlayerLevels.fetchLevelDetailsByPlayer(plrname);
if(playerLevelDetails.min == 8) {
level
.text('Level ')
.append(getLevel(8));
} else {
level level
.text('Min level ') .text('Min level ')
.append(getLevel(playerLevelDetails.min)); .append(getLevel(playerLevelDetails.min));
@ -345,7 +340,6 @@ window.plugin.playerTracker.drawData = function() {
.append(document.createTextNode(', guessed level: ')) .append(document.createTextNode(', guessed level: '))
.append(getLevel(playerLevelDetails.guessed)); .append(getLevel(playerLevelDetails.guessed));
} }
}
popup popup
.append('<br>') .append('<br>')