Module:Tt/Draft: Difference between revisions

Kuhlau (talk | contribs)
No edit summary
Kuhlau (talk | contribs)
No edit summary
Line 46: Line 46:
-- Optional toggleable text but plain text must be there for gadget
-- Optional toggleable text but plain text must be there for gadget
if not options or not options.notoggle then
if not options or not options.notoggle then
toggle:addClass(' mw-collapsible mw-made-collapsible mw-collapsed giw-collapsible')
toggle:addClass(' mw-collapsible mw-made-collapsible mw-collapsed hnaw-collapsible')
-- move tooltip to detached icon when text is clickable
-- move tooltip to detached icon when text is clickable
if lib.isNotEmpty(args.link) or (text:find('%[%[') and text:find('%]%]')) then
if lib.isNotEmpty(args.link) or (text:find('%[%[') and text:find('%]%]')) then