fix link to notes in merge request diff
Created by: skv-headless
http://localhost:3000/gitlabhq/gitlab-ci/merge_requests/1/diffs#note_316 scroll in such links doesn't work. It happens because on page there are 2 elements with id="note_316" in changes and discussion. Browser takes first for scroll. This solution works because changes loads without diffs so tag with id="note_316" just one. Diffs loads with discussions, but in this case diff tag would be first. It is dirty but working solution.
Created by: skv-headless
reproduced here https://gitlab.com/skv-headless/test_project/merge_requests/1/diffs#note_126261
By Administrator on 2014-06-10T06:08:15 (imported from GitLab project)
Please register or sign in to reply