[SOLVED] Thanks button bug

4 adet gönderi / 0 yeni
Moderatör
<a href="/tr/translator/altermetax" class="userpopupinfo" rel="user1360194">altermetax <div class="moderator_icon" title="Moderatör" ></div></a>
Katıldığı tarih: 04.11.2017
Pending moderation

Hello,
I just noticed a bug that happens to the link next to the "thanks" button on translations which have 0 thanks: https://imgur.com/ZmwZatL
The target of that link is also used as its text.
Clicking on it opens the pop-up with the list of the people who said thanks, but of course empty, while the link itself should not be there at all.

EDIT: I realized it's because of the following CSS property, which does exactly that:
a[href]:empty::before {
 content: attr(href);
}

Moderatör ¡Café-dependiente ☕! | 🇻🇪
<a href="/tr/translator/enjovher" class="userpopupinfo" rel="user1219642">Enjovher <div class="moderator_icon" title="Moderator" ></div></a>
Katıldığı tarih: 09.09.2014

Hi!

I've seen that bug too, and the Admins have been informed about this issue.
Thank you for the info.

Emekli Moderatör of void
<a href="/tr/translator/ivan-u7n" class="userpopupinfo" rel="user1297482">Ivan U7n </a>
Katıldığı tarih: 27.06.2016

Yeah, it was my suggestion to add this CSS rule to the site stylesheet to prevent empty titles of artists, songs, translations, etc. to be a nuance. I just haven't figured out that 0 thanks is also an empty link. I have now suggested a workaround and a possible fix.

Moderatör
<a href="/tr/translator/altermetax" class="userpopupinfo" rel="user1360194">altermetax <div class="moderator_icon" title="Moderatör" ></div></a>
Katıldığı tarih: 04.11.2017

The best solution would probably be to put no link there if there are no thanks, not even an empty one.