#440 Avoid highlighting sections
Closed: Fixed None Opened 8 years ago by pingou.

When viewing a PR, if the user clicks on 'Commits' or 'Diff', the entire commits or diff section gets highlighted, which is not really nice looking.

The problem is at:
https://pagure.io/pagure/blob/master/f/pagure/templates/pull_request.html#_512

There we do not check if the hash in the url is related to a comment or not, and thus we end-up highlighting part of the HTML which it's not meant to be.

Therefor we should check if the hash concerns a comment or not and only highlight if it is.


This got fixed while working on the new UI

Login to comment on this ticket.

Metadata