#1965 Fix inline comment not showing on first click in PR page
Merged 7 years ago by pingou. Opened 7 years ago by cep.

@@ -1251,7 +1251,8 @@ 

        $('#pr-wrapper .tab-pane').removeClass('active');

        // When the hash points to 'Files Changed' tab, or a highlight.

        if (location.hash.indexOf("request_diff") > -1 ||

-           location.hash.indexOf("_") === 1) {

+           location.hash.indexOf("_") === 1 ||

+           location.hash.indexOf("c-") === 1) {

          $('[href="#request_diff"]').addClass('active');

          $('#request_diff').addClass('active');

        }

Check by applying the patch , works for me.

I would prefer to have the details on the commit message as well :)

Works great, let's just adjust the commit message and rebase and we're good to go :)

Since I have commit on your fork, I will adjust the commit message and rebase so this can be merged.

I hope you don't mind :-s

Pull-Request has been merged by pingou

7 years ago

@pingou thanks! I'll try to include detailed commit messages henceforth :)