Module:Listbox: Difference between revisions

Want an adless experience? Log in or Create an account.
and the other one
m (okay so it wasn't completely unnecessary. fixing the thing that depended on it.)
(and the other one)
Line 116: Line 116:
function buildTable( categoryProps, pageGroups )
function buildTable( categoryProps, pageGroups )
   local content = mw.html.create( 'table' )
   local content = mw.html.create( 'table' )
   if #pageGroups.default then
   if pageGroups.default and #pageGroups.default then
     local defaultCell = content:tag( 'tr' )
     local defaultCell = content:tag( 'tr' )
       :tag( 'td' )
       :tag( 'td' )