diff options
author | Mark Lentczner <markl@glyphic.com> | 2010-07-26 02:39:15 +0000 |
---|---|---|
committer | Mark Lentczner <markl@glyphic.com> | 2010-07-26 02:39:15 +0000 |
commit | b195ecb345132895e0564e4e849196d137e24cdd (patch) | |
tree | e93ad45948aabbccfd4efca9aa508a5c93fc9459 /src/Haddock/Backends/Xhtml/Layout.hs | |
parent | 82702b85d29a7b45f53cb7da2e986ae477e985ff (diff) |
make module list use new collapsers
Diffstat (limited to 'src/Haddock/Backends/Xhtml/Layout.hs')
-rw-r--r-- | src/Haddock/Backends/Xhtml/Layout.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Haddock/Backends/Xhtml/Layout.hs b/src/Haddock/Backends/Xhtml/Layout.hs index 3535ba0e..9e45b812 100644 --- a/src/Haddock/Backends/Xhtml/Layout.hs +++ b/src/Haddock/Backends/Xhtml/Layout.hs @@ -163,9 +163,7 @@ subInstances id_ = maybe noHtml wrap . instTable wrap = (subSection <<) . (subCaption +++) instTable = fmap (thediv ! [identifier id_, theclass "show"] <<) . subTable subSection = thediv ! [theclass $ "subs instances"] - subCaption = paragraph ! [theclass cs, onclick js] << "Instances" - cs = "caption collapser" - js = "toggleSection(this,'" ++ id_ ++ "')" + subCaption = paragraph ! collapser id_ "caption" << "Instances" subMethods :: [Html] -> Html |