diff --git a/code/smartphone.js b/code/smartphone.js index 9d913c22..bc7371f7 100644 --- a/code/smartphone.js +++ b/code/smartphone.js @@ -70,7 +70,11 @@ window.runOnSmartphonesBeforeBoot = function() { window.smartphoneInfo = function(data) { var d = data.portalDetails; - var t = 'L' + Math.floor(getPortalLevel(d)); + var lvl = Math.floor(getPortalLevel(d)); + if(lvl == 0) + var t = 'L' + lvl + ''; + else + var t = 'L' + lvl + ''; var percentage = '0%'; var totalEnergy = getTotalPortalEnergy(d); if(getTotalPortalEnergy(d) > 0) { diff --git a/mobile/smartphone.css b/mobile/smartphone.css index bcbb8bef..6e7b6a9f 100644 --- a/mobile/smartphone.css +++ b/mobile/smartphone.css @@ -32,6 +32,11 @@ body { overflow: hidden; } +#mobileinfo .portallevel { + padding: 0 0.2em; + color: #FFF; +} + #sidebar, #chatcontrols, #chat, #chatinput { background: #0B3351 !important; }