Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: Direct links to article comments break 'like' button some other pages [FIXED]
WorMzy 16 Apr 2021
This.. is a very frivolous bug that I wouldn't spend too much time looking into, but if you follow a direct link to a comment in an article, and navigate to other pages of comments, sometimes the 'like' button is not present.

i.e.
https://www.gamingonlinux.com/2021/04/metro-exodus-from-4a-and-deep-silver-has-officially-released-for-linux/comment_id=201706 -- you can like comments on any page other than 2, 10, 18 and 19.

https://www.gamingonlinux.com/2021/04/metro-exodus-from-4a-and-deep-silver-has-officially-released-for-linux/comment_id=201801 -- you can like any comment on any page other than page 10.

Follow https://www.gamingonlinux.com/2021/04/metro-exodus-from-4a-and-deep-silver-has-officially-released-for-linux/comment_id=201547 -- you can't like comments on page 10, 18 and 19.

I can reproduce this on multiple browsers (qutebrowser & palemoon on
Linux, firefox on Android), multiple OSes (Linux and Android), and with and without adblock, so I think I've ruled out all but a backend bug.

Last edited by GamingOnLinux Bot on 17 Apr 2021 at 2:13 pm UTC
This topic has an answer marked - jump to answer.
Liam Dawe 17 Apr 2021
This is fixed now, was a JavaScript error as when you switch page the linked comment ID is still in the URL so the quote hiding stuff was getting mixed up trying to find the linked comment that didn't exist on the page. Solved now, it will remove it. Additionally, it's been improved so that the current page will actually now be in the URL bar with our AJAX page loading :)
WorMzy 17 Apr 2021
Nice one! Sorry to spring those bugs on you on a Saturday. :)
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register