diff --git a/code/portal_detail_display_tools.js b/code/portal_detail_display_tools.js index 389a46c9..364bccf8 100644 --- a/code/portal_detail_display_tools.js +++ b/code/portal_detail_display_tools.js @@ -138,7 +138,10 @@ window.getModDetails = function(d) { for (var i=0; i'+mods[i]+'' } - + // and add blank entries if we have less than 4 mods (as the server no longer returns all mod slots, but just the filled ones) + for (var i=mods.length; i<4; i++) { + t += '' + } return t; }