Module:Listbox: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m
okay so it wasn't completely unnecessary. fixing the thing that depended on it.
m (remove unnecessary 'default' group initialization)
m (okay so it wasn't completely unnecessary. fixing the thing that depended on it.)
Line 134: Line 134:
           :wikitext( group )
           :wikitext( group )
         local cell = row:tag( 'td' )
         local cell = row:tag( 'td' )
           :addClass( (index + (#pageGroups.default and 1 or 0)) % 2 == 0 and 'even' or 'odd' )
           :addClass( (index + (pageGroups.default and #pageGroups.default and 1 or 0)) % 2 == 0 and 'even' or 'odd' )
         renderHList( cell, pageGroups[group] )
         renderHList( cell, pageGroups[group] )
       end
       end

Navigation menu