nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24ec3f
)
src/htmlight: A classtype points to the class introduction
author
Jean Privat
<jean@pryen.org>
Thu, 31 May 2018 15:32:54 +0000
(11:32 -0400)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/src/htmlight.nit
b/src/htmlight.nit
index
7a1f906
..
dc8cb21
100644
(file)
--- 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)