Module:Tabs: Difference between revisions

Want an adless experience? Log in or Create an account.
for tabcontent, read default from the id arg since it doesn't make sense to have an id in that case
m (fix attr type)
(for tabcontent, read default from the id arg since it doesn't make sense to have an id in that case)
Line 109: Line 109:
     :wikitext( self.content )
     :wikitext( self.content )


   if self.args.default then
   if self.contentId == 'default' then
     content:addClass( 'default' )
     content:addClass( 'default' )
   end
   end