[SOLVED] Thanks button bug
altermetaxمشرف
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);
}














Hi!
I've seen that bug too, and the Admins have been informed about this issue.
Thank you for the info.
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.
The best solution would probably be to put no link there if there are no thanks, not even an empty one.