From 1dd10209269ff5b1bb04e088fc297737bb592223 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 31 May 2018 11:32:54 -0400 Subject: [PATCH] src/htmlight: A classtype points to the class introduction Signed-off-by: Jean Privat --- src/htmlight.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmlight.nit b/src/htmlight.nit index 7a1f906..dc8cb21 100644 --- a/src/htmlight.nit +++ b/src/htmlight.nit @@ -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) -- 1.7.9.5