• 
      

    Strip off #index_header before starting the diff router.

    Review Request #4701 — Created Oct. 8, 2013 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    Strip off #index_header before starting the diff router.

    Backbone's router will turn hashes into URL components. This is a problem for
    the diff page, which uses #index_header to jump past the review request
    details. I've added some code to strip out the hash before we start Backbone's
    history tracking, which fixes the URL.

    Loaded /diff/#index_header and saw that the URL changed to /diff/# instead of
    /diff/index_header.