You can sign up to get a daily email of our articles, see the Mailing List page!
Direct links to article comments break 'like' button some other pages [FIXED]
WorMzy 16 Apr
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 Liam Dawe on 17 April 2021 at 2:13 pm UTC
This topic has an answer marked - jump to answer.
Liam Dawe 17 Apr
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
Nice one! Sorry to spring those bugs on you on a Saturday. :)
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just 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

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.

Livestreams & Videos
Community Livestreams
Latest Forum Posts