fix: mod owner not displayed
This commit is contained in:
parent
e1ba635c8d
commit
9882157f45
@ -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) {
|
||||
|
@ -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++;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user