Changes

m
no edit summary
Line 103: Line 103:  
     background = headerBackgrounds[world],
 
     background = headerBackgrounds[world],
 
     name = worldNames[world],
 
     name = worldNames[world],
   } .. U.joinLines(U.imap(es, function(e)
+
   } .. U.joinLines(U.imap(es, function(e, i)
 
     return U.format{
 
     return U.format{
 
       template,
 
       template,
       style = string.format('text-align: center; height: 35px; background: #%s; color:#000', backgrounds[e.maparea_id] or backgrounds[0]),
+
       style = string.format(
 +
        'text-align: center; height: 35px; background: #%s; color:#000',
 +
        i % 2 == 0 and '' or backgrounds[e.maparea_id] or backgrounds[0]
 +
      ),
 
       id = tooltip(e.disp_no, 'ID number as displayed in game'),
 
       id = tooltip(e.disp_no, 'ID number as displayed in game'),
 
       name = tooltip(e.name, e.details),
 
       name = tooltip(e.name, e.details),
cssedit, gkautomate
7,064

edits