Jump to discussion links broken after changing tabs

I've noticed this in Safari 12.1 but it could be happening in other browsers.

When I visit a merge request discussion, the "jump to first/next unresolved discussion" links will break if I visit the "changes" tab and then click back on the "discussion" tab.

Screen_Shot_2019-05-29_at_5.43.22_PM

Screen_Shot_2019-05-29_at_5.43.42_PM

See also https://gitlab.com/gitlab-org/gitlab-ce/issues/63577#note_184893702

Edited by Thong Kuah