wmlunits: Use the unit type id on the id tooltip, not the name
Fixes #1978. [ci skip]
This commit is contained in:
parent
8a7aa49718
commit
3eafff0d7d
1 changed files with 1 additions and 1 deletions
|
@ -870,7 +870,7 @@ class HTMLOutput:
|
|||
image, portrait = self.pic(u, u)
|
||||
image = cleanurl(image)
|
||||
|
||||
write('<a href="%s" title="Id: %s">' % (link, name))
|
||||
write('<a href="%s" title="Id: %s">' % (link, uid))
|
||||
|
||||
if crown == " ♚":
|
||||
write('<div class="spritebg" style="background-image:url(\'%s\')">' % image)
|
||||
|
|
Loading…
Add table
Reference in a new issue