src/htmlight: A classtype points to the class introduction
authorJean Privat <jean@pryen.org>
Thu, 31 May 2018 15:32:54 +0000 (11:32 -0400)
committerJean Privat <jean@pryen.org>
Thu, 31 May 2018 15:32:54 +0000 (11:32 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/htmlight.nit

index 7a1f906..dc8cb21 100644 (file)
@@ -568,7 +568,7 @@ redef class MClassType
        redef fun infobox(v)
        do
                var res = new HInfoBox(v, to_s)
-               res.href = v.hrefto(self)
+               res.href = v.hrefto(mclass.intro)
                if not v.show_infobox then return res
                res.new_field("class").add mclass.intro.linkto(v)
                add_doc_to_infobox(res)