fix: mod owner not displayed

This commit is contained in:
Jon Atkins 2014-05-24 23:58:33 +01:00
parent e1ba635c8d
commit 9882157f45
2 changed files with 4 additions and 4 deletions

View File

@ -97,8 +97,8 @@ window.getModDetails = function(d) {
}
modTooltip = modName + '\n';
if (mod.installingUser) {
modTooltip += 'Installed by: '+ mod.installingUser + '\n';
if (mod.owner) {
modTooltip += 'Installed by: '+ mod.owner + '\n';
}
if (mod.stats) {

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-guess-player-levels@breunigs
// @name IITC plugin: guess player level
// @category Info
// @version 0.5.3.@@DATETIMEVERSION@@
// @version 0.5.4.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
@ -135,7 +135,7 @@ window.plugin.guessPlayerLevels.extractPortalData = function(data) {
var owner = data.details.owner && data.details.owner || "";
var ownerModCount = 0;
data.details.mods.forEach(function(mod) {
if(mod && mod.installingUser == owner)
if(mod && mod.owner == owner)
ownerModCount++;
});