Show a little red dot on the northern resonator (details pane + mobile status bar)

This commit is contained in:
fkloft
2013-12-18 00:30:02 +01:00
parent a68c72583f
commit a2501f518f
5 changed files with 60 additions and 20 deletions

View File

@ -90,9 +90,11 @@ window.smartphoneInfo = function(data) {
if(details) {
var l,v,max,perc;
var className = TEAM_TO_CSS[getTeam(details)];
for(var i=0;i<8;i++)
{
var className = TEAM_TO_CSS[getTeam(details)];
if(OCTANTS[i] === 'N')
className += ' north'
var reso = details.resonatorArray.resonators[i];
if(reso) {
l = parseInt(reso.level);